10 lines
287 B
CMake
10 lines
287 B
CMake
cmake_minimum_required(VERSION 3.5)
|
|
project(tourbot)
|
|
SET(CMAKE_CXX_STANDARD 17)
|
|
SET(CMAKE_CXX_STANDARD_REQUIRED True)
|
|
SET(CMAKE_CXX_FLAGS "-O3")
|
|
find_package(CURL REQUIRED)
|
|
find_package(nlohmann_json 3.2.0 REQUIRED)
|
|
add_subdirectory(src)
|
|
install(TARGETS tourbot RUNTIME DESTINATION bin)
|