aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2022-05-30 23:42:02 -0700
committerrtk0c <[email protected]>2022-05-30 23:42:02 -0700
commit8a0f2cd0b398ee0b7740e44a0e5fb2f75d090ccb (patch)
tree2838fd73313948f4db156b60c079468314eb1564 /CMakeLists.txt
parent3571627772b245e3e1a45b66e9a8fe4d50d06c8c (diff)
Changeset: 59 Integrate enum codegen into the actual project
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt9
1 files changed, 1 insertions, 8 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e9a1932..23d733b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -156,7 +156,7 @@ function(add_projectized_executable)
# Things that needs to be compiled
# NOTE: we need at least one of this to make sure the target is rebuilt if the generated files changes
set(var_OUTPUT_SOURCES
- ${var_OUTPUT_DIR}/generated/${var_HEADER_NAME}.gs.cpp
+ ${var_OUTPUT_DIR}/generated/${var_HEADER_NAME}.g.cpp
)
# Generate the files
@@ -178,13 +178,6 @@ add_projectized_executable(
ENABLE_CODEGEN ON
)
-set_source_files_properties(
- source/main.cpp
-TARGET_DIRECTORY 30-game
-PROPERTIES
- SKIP_UNITY_BUILD_INCLUSION ON
-)
-
set_target_properties(30-game PROPERTIES
UNITY_BUILD_MODE BATCH
UNITY_BUILD_UNIQUE_ID "ProjectBrussel_UNITY_ID"