git repos / blockattack-game

commit c253d620

Poul Sander · 2023-07-13 14:06
c253d62019e402b6da7066a52f6dcd0b9ced8cbe patch · browse files
parent 5d36f49f37cdc689e53ee4e79aa6ce8767cb8b85

Include all source files to make QT Creator work

Changed files

M CMakeLists.txt before
diff --git a/CMakeLists.txt b/CMakeLists.txt index 5810665..0a7cac1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -80,7 +80,7 @@ find_package(Intl REQUIRED)
find_package(Boost COMPONENTS program_options REQUIRED)
#Find all sources but one
-file(GLOB SOURCES "source/code/*.cpp" "source/code/*/*.cpp" "source/code/Libs/*.c")
+file(GLOB SOURCES "source/code/*.cpp" "source/code/*.inc" "source/code/*.h*" "source/code/*/*.cpp" "source/code/*/*.h*" "source/code/Libs/*.c" "source/code/Libs/*.h*")
#I am still trying to get BlockGame to compile as a source file
#list(REMOVE_ITEM SOURCES "${blockattack_SOURCE_DIR}/source/code/BlockGame.cpp")