CMakeLists for each C file
This commit is contained in:
@ -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()
|
Reference in New Issue
Block a user