-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
61 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
set(BENCH _bench.restinio.single_handler_so5_timer) | ||
include(${CMAKE_SOURCE_DIR}/cmake/bench.cmake) | ||
|
||
target_link_libraries(${BENCH} PRIVATE sobjectizer::StaticLib) | ||
if (RESTINIO_DEP_SOBJECTIZER STREQUAL "system") | ||
target_compile_definitions(${BENCH} PRIVATE SO_5_STATIC_LIB) | ||
endif() | ||
|
||
target_link_libraries(${BENCH} PRIVATE ${RESTINIO_SOBJECTIZER_LIB_LINK_NAME}) | ||
|
||
target_link_libraries(${BENCH} PRIVATE restinio_helpers::cmd_line_args) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
set(SAMPLE sample.async_chained_handlers) | ||
include(${CMAKE_SOURCE_DIR}/cmake/sample.cmake) | ||
|
||
target_link_libraries(${SAMPLE} PRIVATE sobjectizer::StaticLib) | ||
if (RESTINIO_DEP_SOBJECTIZER STREQUAL "system") | ||
target_compile_definitions(${SAMPLE} PRIVATE SO_5_STATIC_LIB) | ||
endif() | ||
|
||
target_link_libraries(${SAMPLE} PRIVATE ${RESTINIO_SOBJECTIZER_LIB_LINK_NAME}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
set(SAMPLE sample.async_handling_with_sobjectizer) | ||
include(${CMAKE_SOURCE_DIR}/cmake/sample.cmake) | ||
|
||
TARGET_LINK_LIBRARIES(${SAMPLE} PRIVATE sobjectizer::StaticLib) | ||
if (RESTINIO_DEP_SOBJECTIZER STREQUAL "system") | ||
target_compile_definitions(${SAMPLE} PRIVATE SO_5_STATIC_LIB) | ||
endif() | ||
|
||
target_link_libraries(${SAMPLE} PRIVATE ${RESTINIO_SOBJECTIZER_LIB_LINK_NAME}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
set(SAMPLE sample.notificators) | ||
include(${CMAKE_SOURCE_DIR}/cmake/sample.cmake) | ||
|
||
TARGET_LINK_LIBRARIES(${SAMPLE} PRIVATE sobjectizer::StaticLib) | ||
if (RESTINIO_DEP_SOBJECTIZER STREQUAL "system") | ||
target_compile_definitions(${SAMPLE} PRIVATE SO_5_STATIC_LIB) | ||
endif() | ||
|
||
target_link_libraries(${SAMPLE} PRIVATE ${RESTINIO_SOBJECTIZER_LIB_LINK_NAME}) |
6 changes: 5 additions & 1 deletion
6
dev/test/handle_requests/async_chained_handlers_2/CMakeLists.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
set(UNITTEST _unit.test.handle_requests.async_chained_handlers_2) | ||
include(${CMAKE_SOURCE_DIR}/cmake/unittest.cmake) | ||
|
||
target_link_libraries(${UNITTEST} PRIVATE sobjectizer::StaticLib) | ||
if (RESTINIO_DEP_SOBJECTIZER STREQUAL "system") | ||
target_compile_definitions(${UNITTEST} PRIVATE SO_5_STATIC_LIB) | ||
endif() | ||
|
||
target_link_libraries(${UNITTEST} PRIVATE ${RESTINIO_SOBJECTIZER_LIB_LINK_NAME}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
set(UNITTEST _unit.test.notificators) | ||
include(${CMAKE_SOURCE_DIR}/cmake/unittest.cmake) | ||
|
||
TARGET_LINK_LIBRARIES(${UNITTEST} PRIVATE sobjectizer::StaticLib) | ||
if (RESTINIO_DEP_SOBJECTIZER STREQUAL "system") | ||
target_compile_definitions(${UNITTEST} PRIVATE SO_5_STATIC_LIB) | ||
endif() | ||
|
||
target_link_libraries(${UNITTEST} PRIVATE ${RESTINIO_SOBJECTIZER_LIB_LINK_NAME}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
set(UNITTEST _unit.test.ws_connection) | ||
include(${CMAKE_SOURCE_DIR}/cmake/unittest.cmake) | ||
|
||
TARGET_LINK_LIBRARIES(${UNITTEST} PRIVATE sobjectizer::StaticLib) | ||
if (RESTINIO_DEP_SOBJECTIZER STREQUAL "system") | ||
target_compile_definitions(${UNITTEST} PRIVATE SO_5_STATIC_LIB) | ||
endif() | ||
|
||
target_link_libraries(${UNITTEST} PRIVATE ${RESTINIO_SOBJECTIZER_LIB_LINK_NAME}) |