-
Notifications
You must be signed in to change notification settings - Fork 0
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
5 changed files
with
212 additions
and
18 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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
FetchContent_Declare( | ||
poco | ||
GIT_SHALLOW TRUE | ||
GIT_REPOSITORY "https://github.com/pocoproject/poco.git" | ||
GIT_TAG "poco-1.11.0-release" | ||
) | ||
FetchContent_MakeAvailable(poco) | ||
FetchContent_GetProperties(poco) | ||
if (NOT poco_POPULATED) | ||
FetchContent_Populate(poco) | ||
endif() |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
FetchContent_Declare( | ||
Catch2 | ||
GIT_SHALLOW TRUE | ||
GIT_REPOSITORY https://github.com/catchorg/Catch2.git | ||
GIT_TAG v2.13.6) | ||
FetchContent_MakeAvailable(Catch2) | ||
list(APPEND CMAKE_MODULE_PATH ${Catch2_SOURCE_DIR}/contrib) | ||
enable_testing() | ||
include_directories(include) | ||
add_executable(simple_websocket_test test/SimpleWebSocketTests.cpp) | ||
target_link_libraries(simple_websocket_test Catch2::Catch2 Poco::Net) | ||
include(CTest) | ||
include(Catch) | ||
catch_discover_tests(simple_websocket_test) |
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