-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Latest CMP and deps. Use alias targets. Define ALIAS target fishnets:…
…:fishnets
- Loading branch information
Showing
7 changed files
with
25 additions
and
26 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ include(./get_cpm.cmake) | |
|
||
####################################### | ||
# cmake lib | ||
CPMAddPackage(gh:iboB/[email protected].3) | ||
CPMAddPackage(gh:iboB/[email protected].4) | ||
|
||
set(CMAKE_MODULE_PATH | ||
${CMAKE_MODULE_PATH} | ||
|
@@ -35,8 +35,8 @@ endif() | |
|
||
####################################### | ||
# packages | ||
CPMAddPackage(gh:iboB/[email protected].0) | ||
CPMAddPackage(gh:iboB/itlib@1.5.0) | ||
CPMAddPackage(gh:iboB/[email protected].1) | ||
CPMAddPackage(gh:iboB/itlib@1.6.3) | ||
|
||
find_package(Threads REQUIRED) | ||
if(FISHNETS_SSL) | ||
|
@@ -50,8 +50,7 @@ if(ICM_DEV_MODE) | |
# only add boost in dev mode | ||
# otherwise rely on the external project providing it | ||
CPMAddPackage(gh:iboB/[email protected]) | ||
add_library(boost-beast INTERFACE) | ||
target_link_libraries(boost-beast INTERFACE Boost::boost) | ||
add_library(Boost::beast ALIAS Boost::boost) | ||
|
||
# only add scratch project in dev mode | ||
add_subdirectory(scratch) | ||
|
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
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
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 |
---|---|---|
|
@@ -3,18 +3,18 @@ | |
# | ||
include(icm_testing) | ||
|
||
CPMAddPackage(gh:iboB/doctest-[email protected]) | ||
CPMAddPackage(gh:iboB/xec@1.3.1) | ||
CPMAddPackage(gh:iboB/doctest-[email protected]) | ||
CPMAddPackage(gh:iboB/xec@1.4.1) | ||
|
||
add_library(TestSSLSettings STATIC TestSSLSettings.cpp) | ||
target_link_libraries(TestSSLSettings PUBLIC fishnets) | ||
add_library(TestNullSSLSettings STATIC TestNullSSLSettings.cpp) | ||
target_link_libraries(TestNullSSLSettings PUBLIC fishnets) | ||
add_library(fishnets-TestSSLSettings STATIC TestSSLSettings.cpp) | ||
target_link_libraries(fishnets-TestSSLSettings PUBLIC fishnets) | ||
add_library(fishnets-TestNullSSLSettings STATIC TestNullSSLSettings.cpp) | ||
target_link_libraries(fishnets-TestNullSSLSettings PUBLIC fishnets) | ||
|
||
macro(fishnets_dual_test test) | ||
icm_add_doctest_lib_test(${test}-ws fishnets ${ARGN} LIBRARIES xec TestNullSSLSettings) | ||
add_doctest_lib_test(${test}-ws fishnets ${ARGN} LIBRARIES xec::xec fishnets-TestNullSSLSettings) | ||
if(FISHNETS_SSL) | ||
icm_add_doctest_lib_test(${test}-ssl fishnets ${ARGN} LIBRARIES xec TestSSLSettings) | ||
add_doctest_lib_test(${test}-ssl fishnets ${ARGN} LIBRARIES xec::xec fishnets-TestSSLSettings) | ||
endif() | ||
endmacro() | ||
|
||
|
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