blob: fbbe9013ce9df872d797a874886bc6f9bbb03a6e (
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
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)
set(SOURCES
AquariumSubScene.cpp
BackgroundSubScene.cpp
ForestParallaxScript.cpp
ForestSubScene.cpp
GameScene.cpp
HallwaySubScene.cpp
MoveCameraManualyScript.cpp
PlayerScript.cpp
PlayerSubScene.cpp
StartGameScript.cpp
StartSubScene.cpp
main.cpp
mainmenu/IButtonScript.cpp
mainmenu/ButtonSubScene.cpp
mainmenu/MainMenuScene.cpp
mainmenu/ITransitionScript.cpp
mainmenu/TransitionStartScript.cpp
mainmenu/ButtonTransitionPreviewScript.cpp
mainmenu/ShopMenuScene.cpp
mainmenu/BannerSubScene.cpp
mainmenu/ButtonSetShopScript.cpp
mainmenu/ButtonSetMainMenuScript.cpp
coins/CoinSubScene.cpp
coins/CoinPool.cpp
coins/CoinSystemScript.cpp
coins/CoinScript.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/IButtonScript.h
mainmenu/ButtonSubScene.h
mainmenu/MainMenuScene.h
mainmenu/MainMenuConfig.h
mainmenu/ITransitionScript.h
mainmenu/TransitionStartScript.h
mainmenu/ButtonTransitionPreviewScript.h
mainmenu/ShopMenuScene.h
mainmenu/BannerSubScene.h
mainmenu/ButtonSetShopScript.h
mainmenu/ButtonSetMainMenuScript.h
coins/CoinData.h
coins/CoinSubScene.h
coins/CoinPool.h
coins/CoinSystemScript.h
coins/CoinScript.h
)
add_executable(main ${SOURCES} ${HEADERS})
target_link_libraries(main PUBLIC crepe)
|