summaryrefslogtreecommitdiffhomepage
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2023-04-25 19:35:37 -0400
committerrealtradam <[email protected]>2023-04-25 19:35:37 -0400
commitc003e0155f0dc73349607a264c2c5e79f3fbe017 (patch)
tree9d86bcdee7ecedf8e392749efac8202f1d637019 /CMakeLists.txt
parent8744a480da7103aafe9307e2ab9b2782739dbaf2 (diff)
downloadrodeo_sample_game-c003e0155f0dc73349607a264c2c5e79f3fbe017.tar.gz
rodeo_sample_game-c003e0155f0dc73349607a264c2c5e79f3fbe017.zip
seperate out input into seperate files
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0925752..15c5f56 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -6,13 +6,17 @@ project(demo
add_executable(${PROJECT_NAME}
"src/main.c"
+ "src/input.c"
)
set_property(TARGET ${PROJECT_NAME} PROPERTY C_STANDARD 11)
add_subdirectory(external/RodeoKit)
add_dependencies(${PROJECT_NAME} RodeoKit)
-target_include_directories(${PROJECT_NAME} PUBLIC external/RodeoKit/include)
+target_include_directories(${PROJECT_NAME} PUBLIC
+ external/RodeoKit/include
+ src
+ )
target_link_libraries(${PROJECT_NAME} PUBLIC RodeoKit)
if(DEFINED EMSCRIPTEN)