aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/direct_bt/CMakeLists.txt45
1 files changed, 27 insertions, 18 deletions
diff --git a/test/direct_bt/CMakeLists.txt b/test/direct_bt/CMakeLists.txt
index 4d9e3b51..7e43793a 100644
--- a/test/direct_bt/CMakeLists.txt
+++ b/test/direct_bt/CMakeLists.txt
@@ -4,60 +4,69 @@ include_directories(
)
add_executable (test_functiondef01 test_functiondef01.cpp)
-add_executable (test_uuid test_uuid.cpp)
-add_executable (test_basictypes01 test_basictypes01.cpp)
-add_executable (test_attpdu01 test_attpdu01.cpp)
-add_executable (test_lfringbuffer01 test_lfringbuffer01.cpp)
-add_executable (test_lfringbuffer11 test_lfringbuffer11.cpp)
-
set_target_properties(test_functiondef01
PROPERTIES
CXX_STANDARD 17
CXX_STANDARD_REQUIRED ON
COMPILE_FLAGS "-Wall -Wextra -Werror"
)
+target_link_libraries (test_functiondef01 direct_bt)
+add_dependencies(test_functiondef01 direct_bt)
+add_test (NAME functiondef01 COMMAND test_functiondef01)
+
+add_executable (test_uuid test_uuid.cpp)
set_target_properties(test_uuid
PROPERTIES
CXX_STANDARD 17
CXX_STANDARD_REQUIRED ON
COMPILE_FLAGS "-Wall -Wextra -Werror"
)
+target_link_libraries (test_uuid direct_bt)
+add_dependencies(test_uuid direct_bt)
+add_test (NAME uuid COMMAND test_uuid)
+
+add_executable (test_basictypes01 test_basictypes01.cpp)
set_target_properties(test_basictypes01
PROPERTIES
CXX_STANDARD 17
CXX_STANDARD_REQUIRED ON
COMPILE_FLAGS "-Wall -Wextra -Werror"
)
+target_link_libraries (test_basictypes01 direct_bt)
+add_dependencies(test_basictypes01 direct_bt)
+add_test (NAME basictypes01 COMMAND test_basictypes01)
+
+add_executable (test_attpdu01 test_attpdu01.cpp)
set_target_properties(test_attpdu01
PROPERTIES
CXX_STANDARD 17
CXX_STANDARD_REQUIRED ON
COMPILE_FLAGS "-Wall -Wextra -Werror"
)
+target_link_libraries (test_attpdu01 direct_bt)
+add_dependencies(test_attpdu01 direct_bt)
+add_test (NAME attpdu01 COMMAND test_attpdu01)
+
+add_executable (test_lfringbuffer01 test_lfringbuffer01.cpp)
set_target_properties(test_lfringbuffer01
PROPERTIES
CXX_STANDARD 17
CXX_STANDARD_REQUIRED ON
COMPILE_FLAGS "-Wall -Wextra -Werror"
)
+target_link_libraries (test_lfringbuffer01 direct_bt)
+add_dependencies(test_lfringbuffer01 direct_bt)
+add_test (NAME lfringbuffer01 COMMAND test_lfringbuffer01)
+
+add_executable (test_lfringbuffer11 test_lfringbuffer11.cpp)
set_target_properties(test_lfringbuffer11
PROPERTIES
CXX_STANDARD 17
CXX_STANDARD_REQUIRED ON
COMPILE_FLAGS "-Wall -Wextra -Werror"
)
-
-target_link_libraries (test_functiondef01 direct_bt)
-target_link_libraries (test_basictypes01 direct_bt)
-target_link_libraries (test_uuid direct_bt)
-target_link_libraries (test_attpdu01 direct_bt)
-target_link_libraries (test_lfringbuffer01 direct_bt)
target_link_libraries (test_lfringbuffer11 direct_bt)
-
-add_test (NAME functiondef01 COMMAND test_functiondef01)
-add_test (NAME basictypes01 COMMAND test_basictypes01)
-add_test (NAME uuid COMMAND test_uuid)
-add_test (NAME attpdu01 COMMAND test_attpdu01)
-add_test (NAME lfringbuffer01 COMMAND test_lfringbuffer01)
+add_dependencies(test_lfringbuffer11 direct_bt)
add_test (NAME lfringbuffer11 COMMAND test_lfringbuffer11)
+