1 cmake_minimum_required(VERSION 3.19)
2 project(foobar LANGUAGES CXX VERSION 0.0.0)
4 set(CMAKE_CXX_STANDARD 17)
5 set(CMAKE_CXX_STANDARD_REQUIRED ON)
6 set(CMAKE_CXX_EXTENSIONS OFF)
8 add_executable(foobar foobar.cpp)
9 target_link_libraries(foobar marnav::marnav)
11 set(ENABLE_EXAMPLES OFF CACHE BOOL "")
12 set(ENABLE_TESTS OFF CACHE BOOL "")
13 set(ENABLE_TOOLS OFF CACHE BOOL "")
14 add_subdirectory(${MARNAV_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}/marnav)