source: Revenant/CMakeLists.txt@ 80a6a52

port/mars-tycoon
Last change on this file since 80a6a52 was 80a6a52, checked in by Jonathan Neufeld <support@…>, 3 years ago

Get to a compile state for terrain procedural generation

  • Property mode set to 100644
File size: 741 bytes
RevLine 
[80a6a52]1cmake_minimum_required(VERSION 3.5)
2project (revenant)
3
4set(CMAKE_CXX_STANDARD 11)
5set(CMAKE_CXX_STANDARD_REQUIRED ON)
6set(CMAKE_CXX_EXTENSIONS OFF)
7
8if(MSVC)
9 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DWINDOZE=1 /W4")
10endif()
11
12set(Boost_USE_STATIC_LIBS OFF)
13set(Boost_USE_MULTITHREADED ON)
14set(Boost_USE_STATIC_RUNTIME OFF)
15find_package(Boost 1.45.0 COMPONENTS thread date_time regex filesystem)
16
17if(Boost_FOUND)
18 include_directories(${Boost_INCLUDE_DIRS})
19endif()
20
21include_directories(marslib/include/)
22add_definitions(-DBOOST_ALL_NO_LIB)
23add_definitions(-DBOOST_ALL_DYN_LINK)
24
25add_subdirectory(third-party)
26add_subdirectory(marslib)
27add_subdirectory(geoworld)
28add_subdirectory(terrain-generator)
29add_subdirectory(yamlprovider)
Note: See TracBrowser for help on using the repository browser.