lander/CMakeLists.txt

17 lines
350 B
CMake
Raw Normal View History

2022-11-15 16:21:27 +01:00
cmake_minimum_required(VERSION 3.20)
2022-11-15 16:05:47 +01:00
project(lander C CXX)
2022-11-15 17:05:14 +01:00
set(CMAKE_CXX_STANDARD 11)
include_directories(crow/include tries/include)
2022-11-15 16:05:47 +01:00
add_subdirectory(crow)
2022-11-15 16:21:27 +01:00
add_subdirectory(tries)
if(CMAKE_BUILD_TYPE STREQUAL Release)
add_compile_options(-O3 -flto)
endif()
2022-11-15 16:05:47 +01:00
add_executable(lander src/main.cpp)
2022-11-15 17:05:14 +01:00
target_link_libraries(lander Crow ternarytrie)