-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
53 lines (44 loc) · 1.15 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
51
52
53
cmake_minimum_required(VERSION 3.10)
# Project Name
project(platformer)
# Create executable
add_executable(platformer
src/main.cpp
src/game/game_item.cpp
src/game/game_states.cpp
src/game/game.cpp
src/game/manager/item_manager.cpp
src/game/manager/manager_manager.cpp
src/game/manager/manager.cpp
src/items/cloud/cloud_manager.cpp
src/items/cloud/cloud.cpp
src/items/player/player_manager.cpp
src/items/player/player.cpp
src/items/tile/tile_manager.cpp
src/items/tile/tile.cpp
src/physics/tile_game_item/tile_game_item.cpp
src/physics/aabb_game_item.cpp
src/physics/aabb.cpp
src/physics/camera.cpp
src/ui/renderer.cpp
src/ui/window.cpp
src/ui/components/component_manager.cpp
src/ui/components/ui_component.cpp
src/utilities/texture_manager.cpp
)
target_include_directories(platformer PUBLIC
src
src/game
src/game/manager
src/items/cloud
src/items/player
src/items/tile
src/physics/tile_game_item
src/physics
src/ui
src/ui/components
src/ui/components/button
src/utilities
)
target_link_libraries(platformer SDL2 SDL2_image)
set_target_properties(platformer PROPERTIES RUNTIME_OUTPUT_DIRECTORY bin)