Initial commit

This commit is contained in:
2026-08-04 18:05:30 +03:00
parent 4b39a660e8
commit 09ae813c76
15 changed files with 96 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
add_subdirectory(src)
add_subdirectory(tests)
+10
View File
@@ -0,0 +1,10 @@
add_library(Protocol STATIC)
target_sources(Protocol
PRIVATE
protocol.cxx
PUBLIC
FILE_SET HEADERS
BASE_DIRS include
FILES include/protocol/protocol.hxx
)
View File
+11
View File
@@ -0,0 +1,11 @@
add_executable(Protocol_tests
test_protocol.cxx
)
target_link_libraries(Protocol_tests
PRIVATE
Protocol
Catch2::Catch2WithMain
)
catch_discover_tests(Protocol_tests)
+6
View File
@@ -0,0 +1,6 @@
#include <catch2/catch_test_macros.hpp>
#include <protocol/protocol.hxx>
TEST_CASE("something", "[stun]") {
SECTION("true") { REQUIRE(true); }
}