summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2020-10-20 00:00:13 +0200
committerSven Gothel <[email protected]>2020-10-20 00:00:13 +0200
commitc6abde738ad261ce2d56e19d0ad838c25b430b7d (patch)
treeaa8881d73a7440a1ddbb875ce8a66a68427b4f67 /test
parentcb85af91738bbe5c3922f68ffa98978611e05804 (diff)
cmake: Drop all sub-folder CXX settings. Use root CMakeLists.txt global settings for all, avoiding confusion.
Diffstat (limited to 'test')
-rw-r--r--test/direct_bt/CMakeLists.txt18
-rw-r--r--test/ieee11073/CMakeLists.txt7
2 files changed, 0 insertions, 25 deletions
diff --git a/test/direct_bt/CMakeLists.txt b/test/direct_bt/CMakeLists.txt
index 02bbf978..87819fe3 100644
--- a/test/direct_bt/CMakeLists.txt
+++ b/test/direct_bt/CMakeLists.txt
@@ -5,34 +5,16 @@ include_directories(
)
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_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_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)
diff --git a/test/ieee11073/CMakeLists.txt b/test/ieee11073/CMakeLists.txt
index 3b8f9b38..4c3b05de 100644
--- a/test/ieee11073/CMakeLists.txt
+++ b/test/ieee11073/CMakeLists.txt
@@ -4,13 +4,6 @@ include_directories(
)
add_executable (test_datatypes01 test_datatypes01.cpp)
-
-set_target_properties(test_datatypes01
- PROPERTIES
- CXX_STANDARD 17
- CXX_STANDARD_REQUIRED ON
-)
-
target_link_libraries (test_datatypes01 direct_bt)
add_test (NAME datatypes01 COMMAND test_datatypes01)