17 lines
350 B
CMake
17 lines
350 B
CMake
cmake_minimum_required(VERSION 3.20)
|
|
project(lander C CXX)
|
|
|
|
set(CMAKE_CXX_STANDARD 11)
|
|
|
|
include_directories(crow/include tries/include)
|
|
|
|
add_subdirectory(crow)
|
|
add_subdirectory(tries)
|
|
|
|
if(CMAKE_BUILD_TYPE STREQUAL Release)
|
|
add_compile_options(-O3 -flto)
|
|
endif()
|
|
|
|
add_executable(lander src/main.cpp)
|
|
target_link_libraries(lander Crow ternarytrie)
|