cmake_minimum_required(VERSION 3.28) set(CMAKE_C_STANDARD 11) set(CMAKE_CXX_STANDARD 20) set(CMAKE_EXPORT_COMPILE_COMMANDS 1) set(CMAKE_BUILD_TYPE Debug) project(game C CXX) add_subdirectory(../src crepe) add_executable(main #background background/AquariumSubScene.cpp background/AquariumScript.cpp background/BackgroundSubScene.cpp background/ForestParallaxScript.cpp background/ForestSubScene.cpp background/HallwaySubScene.cpp background/StartSubScene.cpp # mainscenes GameScene.cpp menus/shop/ShopMenuScene.cpp menus/mainmenu/MainMenuScene.cpp PreviewScene.cpp main.cpp # missile missile/MissilePool.cpp missile/MissileScript.cpp missile/MissileSubScene.cpp missile/SpawnEvent.cpp #scheduling scheduler/ObjectsScheduler.cpp # Preview preview/SmokeSubScene.cpp preview/NpcSubScene.cpp preview/NpcScript.cpp preview/PrevPlayerSubScene.cpp preview/PrevPlayerScript.cpp # scripts background/HallwayScript.cpp MoveCameraManualyScript.cpp StartGameScript.cpp # player player/PlayerScript.cpp player/PlayerSubScene.cpp player/PlayerEndScript.cpp player/PlayerAudioScript.cpp # workers workers/WorkersSubScene.cpp workers/WorkerScript.cpp workers/PanicFromPlayerScript.cpp workers/CollisionScript.cpp # menus main.cpp menus/BannerSubScene.cpp menus/ButtonSubScene.cpp menus/IButtonScript.cpp menus/ButtonSetShopSubScript.cpp menus/ButtonSetMainMenuSubScript.cpp menus/ButtonNextMainMenuSubScript.cpp menus/FloatingWindowSubScene.cpp menus/IFloatingWindowScript.cpp menus/mainmenu/ButtonTransitionPreviewSubScript.cpp menus/mainmenu/ITransitionScript.cpp menus/mainmenu/TransitionStartSubScript.cpp menus/endgame/EndGameSubScene.cpp menus/endgame/EndGameSubScript.cpp # coins coins/CoinSubScene.cpp coins/CoinPoolSubScene.cpp coins/CoinSystemScript.cpp coins/CoinScript.cpp # hud hud/HudSubScene.cpp hud/HudScript.cpp hud/SpeedScript.cpp #random Random.cpp ) target_link_libraries(main PUBLIC crepe)