-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCMakeLists.txt
44 lines (33 loc) · 1.02 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
cmake_minimum_required(VERSION 3.5.1)
project(gremlin-soccer)
# Set all of our output directories.
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/library/)
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/library/)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/)
set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} -std=c++11)
set(CMAKE_C_FLAGS ${CMAKE_C_FLAGS} -std=c11)
include_directories("${CMAKE_SOURCE_DIR}/")
include_directories("${CMAKE_SOURCE_DIR}/library/")
file(GLOB GREMLINSOCCER_SOURCE_FILES
*.h
*.equ
# New
g_*.cpp
data.cpp
# Original
euro_*.cpp
#test.cpp
menu.cpp
results.cpp
control.cpp
gamedata.cpp
3deng.cpp
euro_*.c
intronet.c
network.c
mallocx.c
unmangle.c
audio/*.*
)
add_executable(gremlin-soccer ${GREMLINSOCCER_SOURCE_FILES})
target_link_libraries(gremlin-soccer SDL2 SDL2_net SDL2_mixer)