summaryrefslogtreecommitdiff
path: root/platform/test/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'platform/test/CMakeLists.txt')
-rw-r--r--platform/test/CMakeLists.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/platform/test/CMakeLists.txt b/platform/test/CMakeLists.txt
new file mode 100644
index 0000000..256f540
--- /dev/null
+++ b/platform/test/CMakeLists.txt
@@ -0,0 +1,15 @@
+###############################################################################
+# gtest_packet_handle
+###############################################################################
+
+add_executable(gtest_packet_handle gtest_packet_handle.cpp ${CMAKE_SOURCE_DIR}/platform/src/packet_handle.cpp)
+target_include_directories(gtest_packet_handle PUBLIC ${CMAKE_SOURCE_DIR}/common/include)
+target_include_directories(gtest_packet_handle PUBLIC ${CMAKE_SOURCE_DIR}/platform/include)
+target_link_libraries(gtest_packet_handle common gtest)
+
+###############################################################################
+# gtest_discover_tests
+###############################################################################
+
+include(GoogleTest)
+gtest_discover_tests(gtest_packet_handle) \ No newline at end of file