diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2024-12-20 15:52:54 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2024-12-20 15:52:54 +0100 |
commit | 667ed9ac9b1e51ef87a5a0bca25566f39f087671 (patch) | |
tree | 1ead85a1eb1559d53ae2fac8d1f2a599c880b46f /game/CMakeLists.txt | |
parent | 0ba89eff9283d5f9f59fa763a19f4616f1c66d74 (diff) |
updated cmake and added simple button
Diffstat (limited to 'game/CMakeLists.txt')
-rw-r--r-- | game/CMakeLists.txt | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/game/CMakeLists.txt b/game/CMakeLists.txt index dc55523..8fae19f 100644 --- a/game/CMakeLists.txt +++ b/game/CMakeLists.txt @@ -8,7 +8,8 @@ set(CMAKE_BUILD_TYPE Debug) project(game C CXX) add_subdirectory(../src crepe) -add_executable(main + +set(SOURCES AquariumSubScene.cpp BackgroundSubScene.cpp ForestParallaxScript.cpp @@ -21,7 +22,29 @@ add_executable(main StartGameScript.cpp StartSubScene.cpp main.cpp + mainmenu/ButtonScript.cpp + mainmenu/ButtonSubScene.cpp + mainmenu/MainMenuScene.cpp +) + +set(HEADERS + AquariumSubScene.h + BackgroundSubScene.h + ForestParallaxScript.h + ForestSubScene.h + GameScene.h + HallwaySubScene.h + MoveCameraManualyScript.h + PlayerScript.h + PlayerSubScene.h + StartGameScript.h + StartSubScene.h + mainmenu/ButtonScript.h + mainmenu/ButtonSubScene.h + mainmenu/MainMenuScene.h ) +add_executable(main ${SOURCES} ${HEADERS}) + target_link_libraries(main PUBLIC crepe) |