-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakeLists.txt
76 lines (69 loc) · 2.28 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
73
74
75
76
cmake_minimum_required (VERSION 3.11)
# --- Fetch FTXUI --------------------------------------------------------------
include(FetchContent)
set(FETCHCONTENT_UPDATES_DISCONNECTED TRUE)
FetchContent_Declare(ftxui
GIT_REPOSITORY https://github.com/ArthurSonzogni/ftxui
GIT_TAG v3.0.0
)
FetchContent_GetProperties(ftxui)
if(NOT ftxui_POPULATED)
FetchContent_Populate(ftxui)
add_subdirectory(${ftxui_SOURCE_DIR} ${ftxui_BINARY_DIR} EXCLUDE_FROM_ALL)
endif()
# ------------------------------------------------------------------------------
project(goose_party
LANGUAGES CXX
VERSION 1.0.0
)
add_executable(goose_party
src/main.cc
src/game/Game.cc
src/game/DebugGame.cc
src/cards/Card.cc
src/cards/SpellCard.cc
src/cards/TrapCard.cc
src/cards/spells/CS247Card.cc
src/cards/spells/HealthCard.cc
src/cards/spells/JuiceCard.cc
src/cards/spells/LazeezCard.cc
src/cards/spells/PortalCard.cc
src/cards/spells/PredatorCard.cc
src/cards/traps/Boss.cc
src/cards/traps/Explosive.cc
src/cards/traps/Policy71.cc
src/tiles/Tile.cc
src/tiles/BaseTile.cc
src/tiles/DegreeTile.cc
src/tiles/GradeTile.cc
src/tiles/AbilityTile.cc
src/tiles/CardTile.cc
src/tiles/HealthTile.cc
src/tiles/BeaconTile.cc
src/tiles/TileDecorator.cc
src/tiles/TrapTile.cc
src/board/Board.cc
src/display/Display.cc
src/player/Player.cc
src/player/PlayerOptions.cc
src/player/BasePlayer.cc
src/player/PlayerDecorator.cc
src/beacon/Beacon.cc
src/beacon/TuitionBeacon.cc
src/beacon/ExamBeacon.cc
src/player/ability/GradeCurve.cc
src/player/ability/BonusMarks.cc
src/player/ability/GoodSleep.cc
src/player/ability/AllNighter.cc
src/player/ability/TimeManagement.cc
src/player/ability/Attendance.cc
src/player/ability/PerfectGpa.cc
src/player/ability/CopyCat.cc
src/player/ability/Distracting.cc
src/player/ability/Overloading.cc
src/utils/Utils.cc include/utils/Utils.h)
target_include_directories(goose_party PRIVATE include)
target_link_libraries(goose_party
PRIVATE ftxui::screen
PRIVATE ftxui::dom
)