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