-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
71 lines (62 loc) · 1.89 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
cmake_minimum_required(VERSION 3.6)
project(ECE_Siam)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake")
list(APPEND CMAKE_LIBRARY_PATH "C:\\msys64\\mingw32\\lib\\")
list(APPEND CMAKE_LIBRARY_PATH "X:\\msys64\\mingw32\\lib\\")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall")
set(SOURCE_FILES
main.cpp
cli/cli.cpp
cli/cli.hpp
cli/menu/menu.hpp
cli/menu/menu.cpp
siam/objects/elephant.cpp
siam/inc/objects/elephant.hpp
siam/objects/entity.cpp
siam/inc/objects/entity.hpp
siam/matrix.cpp
siam/inc/matrix.hpp
siam/objects/mountain.cpp
siam/inc/objects/mountain.hpp
siam/object.cpp
siam/inc/object.hpp
siam/player.cpp
siam/inc/player.hpp
siam/objects/rhinoceros.cpp
siam/inc/objects/rhinoceros.hpp
siam/matrixs/direction.cpp
siam/inc/matrixs/direction.hpp
siam/inc/exceptions/exceptions.hpp
siam/inc/objects/types/type.hpp
siam/inc/game.hpp
siam/game.cpp
siam/inc/ui/gameui.hpp
siam/ui/games/gamecliui.cpp
siam/inc/ui/games/gamecliui.hpp
siam/ui/audio/FMOD.cpp
siam/inc/ui/audio/FMOD.hpp
siam/ui/games/gameallegroui.cpp
siam/inc/ui/games/gameallegroui.hpp
winhack.h
allegro/popup.cpp
allegro/popup.hpp
allegro/circularmenu.cpp
siam/ui/main/mainallegroui.cpp
siam/inc/ui/main/mainallegroui.hpp
siam/ui/main/maincliui.cpp
siam/inc/ui/main/maincliui.hpp
)
add_executable(ECE_Siam ${SOURCE_FILES})
if(UNIX)
target_link_libraries(ECE_Siam ncurses)
endif(UNIX)
target_link_libraries(ECE_Siam m)
find_package(FMOD REQUIRED)
include_directories(${FMOD_INCLUDE_DIRS})
target_link_libraries(ECE_Siam ${FMOD_LIBRARIES})
find_package(DUI REQUIRED)
include_directories(${DUI_INCLUDE_DIRS})
target_link_libraries(ECE_Siam ${DUI_LIBRARIES})
find_package(ALLEGRO4 REQUIRED)
include_directories(${ALLEGRO4_INCLUDE_DIRS})
target_link_libraries(ECE_Siam ${ALLEGRO4_LIBRARIES})