db-lab1/examples/CMakeLists.txt

15 lines
323 B
CMake

cmake_minimum_required(VERSION 3.10)
project(bserv_examples)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
add_subdirectory(../WebApp/bserv bserv)
add_executable(hello hello.cpp)
target_link_libraries(hello PUBLIC bserv)
add_executable(routing routing.cpp)
target_link_libraries(routing PUBLIC bserv)