A bit more code cleanup

This commit is contained in:
YourWishes committed 2021-11-22 20:25:45 -08:00
1 parent a4198e8396
commit 6c9eb8b685
217 files changed
+206 -184

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
function(tool_game name version)
add_compile_definitions(
GAME_NAME=${name}
GAME_VERSION=${version}
)
file(WRITE ${TEMP_DIR}/dawn/game/game.h
"#include \"games/${TARGET_GAME}/game.h\""
)
# target_sources(${PROJECT_NAME}
# PRIVATE
# ${TEMP_DIR}/dawn/game/game.h
# )
target_include_directories(${PROJECT_NAME} PUBLIC ${TEMP_DIR}/dawn)
endfunction()