-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
50 lines (46 loc) · 2.07 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
cmake_minimum_required(VERSION 3.25)
project(LightSong)
set(CMAKE_CXX_STANDARD 14)
include(sdl2-config.cmake)
#include(sdl2_image-config.cmake)
add_executable(LightSong sdlInit.cpp
core/Command.cpp
core/Parser.cpp
core/Command.h
core/Director.cpp
core/Director.h
core/GameConfig.h
utils.h
core/EnginePath.h
utils.cpp
core/GameConfig.cpp
platform/cli/Interface.cpp
platform/cli/Interface.h
platform/cli/CliCommand.cpp
platform/cli/CliCommand.h
core/Environment.cpp
core/Environment.h
platform/sdl/SdlCommand.cpp
platform/sdl/SdlCommand.h
platform/sdl/Interface.cpp
platform/sdl/Interface.h
sdlInit.cpp
platform/sdl/compose/Character.cpp
platform/sdl/compose/Character.h
platform/sdl/compose/ui/UI.cpp
platform/sdl/compose/ui/UI.h
platform/sdl/compose/Composer.cpp
platform/sdl/compose/Composer.h
platform/sdl/compose/ui/SelectionUI.cpp
platform/sdl/compose/ui/SelectionUI.h
platform/sdl/sdlUtils.cpp
platform/sdl/sdlUtils.h
platform/sdl/compose/ui/BlankUI.cpp
platform/sdl/compose/ui/BlankUI.h
platform/sdl/compose/ui/UiEvent.cpp
platform/sdl/compose/ui/UiEvent.h
platform/sdl/compose/ui/LabelSetUI.cpp
platform/sdl/compose/ui/LabelSetUI.h
include/nlohmann/json_fwd.hpp
include/nlohmann/json.hpp platform/sdl/compose/ui/uiEventHandler/SaveAndLoadUiEventHandler.cpp platform/sdl/compose/ui/uiEventHandler/SaveAndLoadUiEventHandler.h platform/sdl/compose/ui/uiEventHandler/UiEventHandler.cpp platform/sdl/compose/ui/uiEventHandler/UiEventHandler.h platform/sdl/compose/ui/uiEventHandler/SelectionUiEventHandler.h platform/sdl/compose/ui/uiEventHandler/SelectionUiEventHandler.cpp platform/sdl/compose/Dialogue.cpp platform/sdl/compose/Dialogue.h)
target_link_libraries(LightSong PRIVATE SDL2::SDL2main SDL2::SDL2 SDL2::SDL2_image SDL2::SDL2_ttf SDL2::SDL2_mixer)