-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
43 lines (37 loc) · 1.12 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
cmake_minimum_required(VERSION 3.27)
project(Redemption_through_Rebellion)
set(CMAKE_CXX_STANDARD 20)
set(BUILD_SHARED_LIBS FALSE)
include(FetchContent)
FetchContent_Declare(
fmt
GIT_REPOSITORY https://github.com/fmtlib/fmt
GIT_TAG 10.2.1
)
FetchContent_Declare(
SFML
GIT_REPOSITORY https://github.com/SFML/SFML
GIT_TAG 2.6.1
)
FetchContent_MakeAvailable(fmt)
FetchContent_MakeAvailable(SFML)
add_executable(Redemption_through_Rebellion src/main.cpp
README.md
src/inventory/inv.cpp
src/inventory/inv.hpp
src/level/lev.cpp
src/level/lev.hpp
src/game/game.cpp
src/game/game.hpp
src/menu/menu.cpp
src/menu/menu.hpp
src/animation/anim.cpp
src/animation/anim.hpp
src/level/door.cpp
src/level/door.hpp
src/inventory/bullet.hpp
src/inventory/item.hpp
src/entity/enemy.hpp
)
target_link_libraries(Redemption_through_Rebellion PRIVATE fmt::fmt)
target_link_libraries(Redemption_through_Rebellion PRIVATE sfml-system sfml-window sfml-graphics sfml-audio)