Browse Source

Use macro in cgen cmake script

master
Taylor Bockman 5 years ago
parent
commit
41b0d37c2b
  1. 2
      dotfiles/bash/scripts/cgen.sh

2
dotfiles/bash/scripts/cgen.sh

@ -74,7 +74,7 @@ echo "message(\"-- Configuring debug build...\")" >> $cmake_config
echo "add_compile_definitions(DEBUG_BUILD)" >> $cmake_config
echo "ENDIF(CMAKE_BUILD_TYPE MATCHES DEBUG)" >> $cmake_config
echo "" >> $cmake_config
echo "add_executable($name \${SOURCE} \${INCLUDE})" >> $cmake_config
echo "add_executable(\${PROJECT_NAME} \${SOURCE} \${INCLUDE})" >> $cmake_config
echo "Copying .clang-format..."

Loading…
Cancel
Save