diff --git a/examples/client/CMakeLists.txt b/examples/client/CMakeLists.txt new file mode 100644 index 0000000..a722d22 --- /dev/null +++ b/examples/client/CMakeLists.txt @@ -0,0 +1,12 @@ +cmake_minimum_required(VERSION 3.7) +project(test_client) + +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread -std=c++17") + +find_package(Boost COMPONENTS system REQUIRED) +include_directories( + "../msgpack/include" +) + +add_executable(test_client main.cpp) +target_link_libraries(test_client ${Boost_LIBRARIES}) diff --git a/examples/server/CMakeLists.txt b/examples/server/CMakeLists.txt new file mode 100644 index 0000000..3639fe4 --- /dev/null +++ b/examples/server/CMakeLists.txt @@ -0,0 +1,12 @@ +cmake_minimum_required(VERSION 3.7) +project(rest_rpc) + +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread -std=c++17") + +find_package(Boost COMPONENTS system REQUIRED) +include_directories( + "./msgpack/include" +) + +add_executable(rest_rpc main.cpp) +target_link_libraries(rest_rpc ${Boost_LIBRARIES})