-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
72 lines (68 loc) · 1.86 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
cmake_minimum_required(VERSION 3.16)
project(2D_SuperDino)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x")
find_package(SDL2 REQUIRED)
include_directories(${SDL2_INCLUDE_DIRS})
add_executable(2D_SuperDino
src/main.cpp
src/Game.cpp
src/Game.h
src/TextureManager.cpp
src/TextureManager.h
src/Vector2D.cpp
src/Vector2D.h
src/RigidBody.h
src/Layer.h
src/GameMap.h
src/TileLayer.cpp
src/TileLayer.h
src/MapParser.cpp
src/MapParser.h
vendor/tinyxml/tinystr.h
vendor/tinyxml/tinystr.cpp
vendor/tinyxml/tinyxml.h
vendor/tinyxml/tinyxml.cpp
vendor/tinyxml/tinyxmlerror.cpp
vendor/tinyxml/tinyxmlparser.cpp
src/IObject.h
src/GameObject.h
src/Transform.h
src/Character.h
src/Dino.cpp
src/Dino.h
src/Animation.cpp
src/Animation.h
src/KeyboardController.cpp
src/KeyboardController.h
src/Clock.cpp
src/Clock.h
src/Camera.cpp
src/Camera.h
src/Collision.cpp
src/Collision.h
src/Collider.h
src/FontManager.cpp
src/FontManager.h
src/UILabel.h
src/UILabel.cpp
src/StateManager.cpp
src/StateManager.h
src/GameState.h
src/GameState.cpp
src/MenuState.cpp
src/MenuState.h
src/PlayState.cpp
src/PlayState.h
src/PauseState.cpp
src/PauseState.h
src/VoidState.cpp
src/VoidState.h
src/DinoEnemy.cpp
src/DinoEnemy.h
src/Coins.cpp
src/Coins.h
src/GameOverState.cpp
src/GameOverState.h
src/Cactus.cpp
src/Cactus.h src/SoundsManager.cpp src/SoundsManager.h)
target_link_libraries(2D_SuperDino -lSDL2 -lSDL2_image -lSDL2_ttf -lSDL2_mixer)