Browse Source

Use macro in cgen cmake script

Taylor Bockman 5 years ago
parent
commit
f953266410
  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 "add_compile_definitions(DEBUG_BUILD)" >> $cmake_config
echo "ENDIF(CMAKE_BUILD_TYPE MATCHES DEBUG)" >> $cmake_config echo "ENDIF(CMAKE_BUILD_TYPE MATCHES DEBUG)" >> $cmake_config
echo "" >> $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..." echo "Copying .clang-format..."

Loading…
Cancel
Save