forked from cwzx/nngpp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
24 lines (18 loc) · 924 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
add_executable(async_server async/server.cpp)
target_link_libraries(async_server nngpp)
target_include_directories(async_server PUBLIC ${CMAKE_SOURCE_DIR}/include)
add_executable(async_client async/client.cpp)
target_link_libraries(async_client nngpp)
target_include_directories(async_client PUBLIC ${CMAKE_SOURCE_DIR}/include)
add_executable(http_client http_client/http_client.cpp)
target_link_libraries(http_client nngpp)
target_include_directories(http_client PUBLIC ${CMAKE_SOURCE_DIR}/include)
add_executable(raw raw/raw.cpp)
target_link_libraries(raw nngpp)
target_include_directories(raw PUBLIC ${CMAKE_SOURCE_DIR}/include)
add_executable(reqrep reqrep/reqrep.cpp)
target_link_libraries(reqrep nngpp)
target_include_directories(reqrep PUBLIC ${CMAKE_SOURCE_DIR}/include)
add_executable(rest rest/server.cpp)
target_link_libraries(rest nngpp)
target_include_directories(rest PUBLIC ${CMAKE_SOURCE_DIR}/include)