wip
This commit is contained in:
1 parent
daf53df2f9
commit
613a36f009
12 files changed
+17954
-2
No files matched your search
@@ -9,6 +9,9 @@ target_include_directories(Asio INTERFACE lib/asio/include)
|
||||
add_library(HTTPLib INTERFACE IMPORTED GLOBAL)
|
||||
target_include_directories(HTTPLib INTERFACE lib/cpp-httplib/include)
|
||||
|
||||
add_library(Catch2 INTERFACE IMPORTED GLOBAL)
|
||||
target_include_directories(Catch2 INTERFACE lib/catch2)
|
||||
|
||||
find_package (Threads REQUIRED)
|
||||
target_link_libraries(Asio INTERFACE Threads::Threads)
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 12 B |
Binary file not shown.
Binary file not shown.
+17937
File diff suppressed because it is too large.
Load diff
@@ -5,7 +5,10 @@ target_include_directories(Core PUBLIC include)
|
||||
|
||||
add_subdirectory(dns)
|
||||
add_subdirectory(storage)
|
||||
add_subdirectory(tests)
|
||||
|
||||
# Build Executable:
|
||||
add_executable(Plains main.cpp)
|
||||
target_link_libraries(Plains PRIVATE Core DNS Storage Resolver DHCP API Cluster UI)
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
add_library(DNS OBJECT Record.cpp)
|
||||
add_library(DNS OBJECT ResourceRecord.cpp)
|
||||
|
||||
target_include_directories(DNS PUBLIC include)
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "Record.hpp"
|
||||
#include "ResourceRecord.hpp"
|
||||
|
||||
|
||||
namespace Plains {
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
# Tests
|
||||
add_executable(CoreTests main.cpp)
|
||||
target_link_libraries(CoreTests PRIVATE Catch2 Core DNS Storage)
|
||||
|
||||
|
||||
enable_testing()
|
||||
add_test(CoreTests COMMAND CoreTests)
|
||||
@@ -0,0 +1,2 @@
|
||||
#define CATCH_CONFIG_MAIN
|
||||
#include "catch.hpp"
|
||||
Reference in new issue
Block a user