aboutsummaryrefslogtreecommitdiff
path: root/game/CMakeLists.txt
blob: c8fa9896c3c9366b0647a6dd53c0db14789a8246 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
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/AquariumSubScene.cpp
	background/BackgroundSubScene.cpp
	background/ForestParallaxScript.cpp
	background/ForestSubScene.cpp
	GameScene.cpp
	background/HallwaySubScene.cpp
	MoveCameraManualyScript.cpp
	player/PlayerScript.cpp
	player/PlayerSubScene.cpp
	StartGameScript.cpp
	player/PlayerEndScript.cpp
	player/PlayerAudioScript.cpp
	background/StartSubScene.cpp
	workers/WorkersSubScene.cpp
	workers/WorkerScript.cpp
	workers/PanicFromPlayerScript.cpp
	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/shop/ShopMenuScene.cpp
	menus/mainmenu/ButtonTransitionPreviewSubScript.cpp
	menus/mainmenu/ITransitionScript.cpp
	menus/mainmenu/MainMenuScene.cpp
	menus/mainmenu/TransitionStartSubScript.cpp
	menus/endgame/EndGameSubScene.cpp
	menus/endgame/EndGameSubScript.cpp
	coins/CoinSubScene.cpp
	coins/CoinPoolSubScene.cpp
	coins/CoinSystemScript.cpp
	coins/CoinScript.cpp
	hud/HudSubScene.cpp
	hud/HudScript.cpp
	hud/SpeedScript.cpp
	Random.cpp
)

target_link_libraries(main PUBLIC crepe)