CMakeLists for each C file

This commit is contained in:
2021-12-07 07:28:47 -08:00
parent f333cc47fa
commit c75bce4d93
32 changed files with 321 additions and 38 deletions

View File

@ -5,12 +5,8 @@ function(tool_game name version)
)
file(WRITE ${TEMP_DIR}/dawn/game/game.h
"#include \"games/${TARGET_GAME}/game.h\""
"#pragma once\n#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()