-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
60 lines (55 loc) · 2.07 KB
/
CMakeLists.txt
File metadata and controls
60 lines (55 loc) · 2.07 KB
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
cmake_minimum_required(VERSION 3.26)
set(CMAKE_CXX_STANDARD 17)
set(PROJECT_NAME "remake-cce")
project(${PROJECT_NAME})
add_executable(${PROJECT_NAME}
Source/Main.cpp
Source/AudioSystem.cpp
Source/AudioSystem.h
Source/CSV.h
Source/Font.cpp
Source/Font.h
Source/Json.h
Source/Math.cpp
Source/Math.h
Source/Random.cpp
Source/Random.h
Source/Game.cpp
Source/Game.h
Source/Scenes/Menu.cpp
Source/Scenes/Menu.h
Source/Scenes/Scene.h
Source/Components/DrawComponents/DrawAnimatedComponent.h
Source/Scenes/Level1.cpp
Source/Scenes/Level1.h
Source/HUD.cpp
Source/HUD.h
Source/Scenes/Scene.cpp
Source/Actors/Actor.cpp
Source/Actors/Background.cpp
Source/Components/RigidBodyComponent.cpp
Source/Components/Component.cpp
Source/Components/AIComponents/FSMComponent.cpp
Source/Components/AIComponents/FSMState.cpp
Source/Components/ColliderComponents/ColliderComponent.cpp
Source/Components/ColliderComponents/CircleColliderComponent.cpp
Source/Components/ColliderComponents/AABBColliderComponent.cpp
Source/Components/DrawComponents/DrawAnimatedComponent.cpp
Source/Components/DrawComponents/DrawComponent.cpp
Source/Components/DrawComponents/DrawPolygonComponent.cpp
Source/Components/DrawComponents/DrawSpriteComponent.cpp
Source/Components/DrawComponents/DrawTextComponent.cpp
Source/Components/DrawComponents/DrawTileComponent.cpp
Source/Actors/Player.cpp
Source/Actors/Player.h
Source/Scenes/TestArea.cpp
Source/Scenes/TestArea.h
Source/Actors/Wall.cpp
)
####### DO NOT EDIT BELLOW
find_package(SDL2 2.28.2 EXACT REQUIRED)
find_package(SDL2_image REQUIRED)
find_package(SDL2_mixer REQUIRED)
find_package(SDL2_ttf REQUIRED)
include_directories(${SDL2_INCLUDE_DIRS})
target_link_libraries(${PROJECT_NAME} ${SDL2_LIBRARIES} SDL2_image::SDL2_image SDL2_mixer::SDL2_mixer SDL2_ttf::SDL2_ttf)