lander/CMakeLists.txt

16 lines
309 B
CMake

cmake_minimum_required(VERSION 3.20)
project(lander C CXX)
set(CMAKE_C_STANDARD 17)
set(CMAKE_CXX_STANDARD 17)
include_directories(crow/include include)
add_subdirectory(crow)
if(CMAKE_BUILD_TYPE STREQUAL Release)
add_compile_options(-O3 -flto)
endif()
add_executable(lander src/main.cpp src/trie.c)