2019-09-26 11:33:58 +00:00
|
|
|
link_libraries(${PROJECT_NAME})
|
2019-08-08 07:17:09 +00:00
|
|
|
|
2019-08-31 00:27:57 +00:00
|
|
|
set(benchmark_sources benchmark/BenchmarkCtrl.cc benchmark/JsonCtrl.cc
|
|
|
|
benchmark/main.cc)
|
2018-07-24 09:24:23 +00:00
|
|
|
|
2021-05-27 12:09:57 +00:00
|
|
|
add_executable(client client_example/main.cc)
|
|
|
|
add_executable(websocket_client websocket_client/WebSocketClient.cc)
|
2019-08-08 07:17:09 +00:00
|
|
|
add_executable(benchmark ${benchmark_sources})
|
2019-01-19 14:57:07 +00:00
|
|
|
|
2019-08-31 00:27:57 +00:00
|
|
|
set(example_targets
|
|
|
|
benchmark
|
2021-05-27 12:09:57 +00:00
|
|
|
client
|
|
|
|
websocket_client)
|
2019-07-26 14:22:12 +00:00
|
|
|
|
2019-08-31 00:27:57 +00:00
|
|
|
set_property(TARGET ${example_targets}
|
|
|
|
PROPERTY CXX_STANDARD ${DROGON_CXX_STANDARD})
|
2019-08-08 07:17:09 +00:00
|
|
|
set_property(TARGET ${example_targets} PROPERTY CXX_STANDARD_REQUIRED ON)
|
|
|
|
set_property(TARGET ${example_targets} PROPERTY CXX_EXTENSIONS OFF)
|