-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCMakeLists.txt
23 lines (21 loc) · 928 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
cmake_minimum_required(VERSION 3.10)
project(terrainGenCpp LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Ofast -Wall -pedantic -ggdb3 ")
if (UNIX AND NOT APPLE)
set(LINUX TRUE)
endif ()
if (LINUX AND ${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
message(STATUS ">>> ${CMAKE_SYSTEM_NAME}")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=address -fno-omit-frame-pointer")
link_libraries("-fsanitize=address")
add_compile_options("-fsanitize=address")
endif ()
add_executable(biomeGen biomeGen.cpp)
add_executable(terrainGen biomeGen.cpp terrainGen.cpp)
add_executable(Main biomeGen.cpp terrainGen.cpp Main.cpp)
add_executable(FullGen fullGen.cpp)
add_executable(BiomeGenFull biomeGenFull.cpp)
add_executable(BiomeGenFullSinglePos BiomeGenSinglePosFull.cpp)
add_executable(SinglePoint single_point_baseline.cpp)
add_executable(SinglePointOptimized single_point_optimized.cpp)