-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakeLists.txt
34 lines (28 loc) · 931 Bytes
/
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
# -------------------------------------------------------
# util cmake build script for paintown.
# Written by: juvinious
# Modified by: kazzmir
# -------------------------------------------------------
# -------------------------------------------------------
# Source directories containing all the necessary .cpp files
# -------------------------------------------------------
set(ARGUMENT_SRC
argument.cpp)
set(GAME_SRC
game/game.cpp
game/options.cpp
game/world.cpp)
set(RESOURCES_SRC
resources/animation.cpp
resources/background.cpp
resources/camera.cpp
resources/collisions.cpp
resources/font.cpp
resources/object.cpp
resources/tile.cpp
resources/value.cpp)
add_subdirectory(script)
# -------------------------------------------------------
# module
# -------------------------------------------------------
add_library (platformer_module ${ARGUMENT_SRC} ${GAME_SRC} ${RESOURCES_SRC})