King_DuckZ
1e5f4fd2f0
Deferring the data loading task to lower level classes. test_tiler removed as Tyler won't require the user to derive from it anymore.
22 lines
524 B
CMake
22 lines
524 B
CMake
cmake_minimum_required(VERSION 2.8 FATAL_ERROR)
|
|
project(doorkeeper CXX)
|
|
|
|
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -std=c++11 -g -O0 -Wall -Wextra")
|
|
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -std=c++11 -O3 -Wall -Wextra")
|
|
#string(COMPARE EQUAL CMAKE_BINARY_DIR CMAKE_SOURCE_DIR IN_SOURCE_BUILD)
|
|
|
|
find_library(Boost 1.21.0 REQUIRED)
|
|
|
|
include_directories(SYSTEM
|
|
${Boost_INCLUDE_DIRECTORIES}
|
|
)
|
|
|
|
include_directories(
|
|
src/
|
|
include/
|
|
)
|
|
|
|
add_executable(${PROJECT_NAME}
|
|
src/main.cpp
|
|
src/doorkeeper.cpp
|
|
)
|