-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakeLists.txt
28 lines (20 loc) · 902 Bytes
/
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
# Build script for Simulty
# ==============================================================================
# Require at least CMake version 2.6
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
IF(WIN32)
SET(CMAKE_CXX_FLAGS "-D__GTHREAD_HIDE_WIN32API -g -Wall")
SET(CMAKE_CXX_FLAGS_DEBUG "-D__GTHREAD_HIDE_WIN32API -g -Wall")
ELSE(WIN32)
SET(CMAKE_CXX_FLAGS "-g -Wall -pedantic")
SET(CMAKE_CXX_FLAGS_DEBUG "-g -Wall -pedantic -DDEBUGMODE") #
ENDIF(WIN32)
SET(CMAKE_COLOR_MAKEFILE ON)
SET(CMAKE_VERBOSE_MAKEFILE OFF)
PROJECT(Simulty)
SUBDIRS("${PROJECT_SOURCE_DIR}/lib/error")
SUBDIRS("${PROJECT_SOURCE_DIR}/lib/NL")
SUBDIRS("${PROJECT_SOURCE_DIR}/src")
file(COPY "${PROJECT_SOURCE_DIR}/img" DESTINATION "${PROJECT_BINARY_DIR}")
file(COPY "${PROJECT_SOURCE_DIR}/resources" DESTINATION "${PROJECT_BINARY_DIR}")
file(COPY "${PROJECT_SOURCE_DIR}/DejaVuSans.ttf" DESTINATION "${PROJECT_BINARY_DIR}")