summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorfumingwei <[email protected]>2023-03-14 20:22:26 +0800
committerfumingwei <[email protected]>2023-03-14 20:22:26 +0800
commitc133ffc00b0e6029e84051ca2bcb423e9dcbd28f (patch)
tree6ae925da015259b229c078f10e90f8271c94e245 /CMakeLists.txt
parent9dbf155d1f115d588b88ffb5eac86e08e2222c1f (diff)
feature:构建gtest使用环境
Diffstat (limited to 'CMakeLists.txt')
-rwxr-xr-xCMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a48d527..78df60d 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -40,6 +40,11 @@ file(GLOB SRC
"src/*.cpp"
)
+add_subdirectory(vendor)
+add_subdirectory(test/src)
+enable_testing()
+add_subdirectory(./ctest)
+
# Shared Library Output
add_library(${lib_name}_shared SHARED ${SRC})
set_target_properties(${lib_name}_shared PROPERTIES LINK_FLAGS