2021-10-21 22:04:25 +08:00
|
|
|
cmake_minimum_required(VERSION 3.10)
|
|
|
|
|
|
|
|
project(bserv_examples)
|
|
|
|
|
|
|
|
set(CMAKE_CXX_STANDARD 17)
|
|
|
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|
|
|
|
2021-11-16 17:05:17 +08:00
|
|
|
add_subdirectory(../bserv bserv)
|
2021-10-21 22:04:25 +08:00
|
|
|
|
|
|
|
add_executable(hello hello.cpp)
|
|
|
|
target_link_libraries(hello PUBLIC bserv)
|
|
|
|
|
|
|
|
add_executable(routing routing.cpp)
|
|
|
|
target_link_libraries(routing PUBLIC bserv)
|