-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
executable file
·50 lines (43 loc) · 1.25 KB
/
CMakeLists.txt
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
cmake_minimum_required (VERSION 3.2.2)
project(WarOfTheWords)
set(PUGIXML_ROOT "$ENV{CROSS_PATH}/tree/pugixml/${PLATFORM}")
set(INCLUDE_DIRS
"${PUGIXML_ROOT}/include"
$ENV{SRC_PATH}
)
set(LIBRARIES
"${PUGIXML_ROOT}/lib/libpugixml.a"
)
set(SRC_FILES
"src/Sketch.cpp"
"src/WarTextBox.cpp"
"src/TextSpan.cpp"
"src/SearchManager.cpp"
"src/Article.cpp"
"src/Processor.cpp"
"src/MissileManager.cpp"
"src/Missile.cpp"
"src/ExplosionHelper.cpp"
"src/CameraManager.cpp"
"$ENV{SRC_PATH}/common/ArcBall.cpp"
"$ENV{SRC_PATH}/common/xf/Font.cpp"
"$ENV{SRC_PATH}/common/xf/FontManager.cpp"
"$ENV{SRC_PATH}/common/xf/FontSequence.cpp"
"$ENV{SRC_PATH}/common/quad/QuadBatch.cpp"
"$ENV{SRC_PATH}/common/legacy/ui/Button.cpp"
"$ENV{SRC_PATH}/common/legacy/ui/ButtonLayout.cpp"
"$ENV{SRC_PATH}/common/legacy/ui/TiledAtlas.cpp"
"$ENV{SRC_PATH}/common/legacy/ui/UILock.cpp"
"$ENV{SRC_PATH}/common/legacy/ui/Container.cpp"
"$ENV{SRC_PATH}/common/legacy/ui/Shape.cpp"
"$ENV{SRC_PATH}/common/legacy/ui/TextBox.cpp"
"$ENV{SRC_PATH}/common/legacy/ui/WordWrapper.cpp"
)
#
# For Mojave and up
#
add_compile_definitions(
GL_SILENCE_DEPRECATION
)
include("$ENV{CROSS_PATH}/core/cmake/sketch.cmake")
include("$ENV{CROSS_PATH}/core/cmake/test.cmake")