diff options
author | Sven Gothel <[email protected]> | 2020-10-20 00:00:13 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-10-20 00:00:13 +0200 |
commit | c6abde738ad261ce2d56e19d0ad838c25b430b7d (patch) | |
tree | aa8881d73a7440a1ddbb875ce8a66a68427b4f67 /examples/CMakeLists.txt | |
parent | cb85af91738bbe5c3922f68ffa98978611e05804 (diff) |
cmake: Drop all sub-folder CXX settings. Use root CMakeLists.txt global settings for all, avoiding confusion.
Diffstat (limited to 'examples/CMakeLists.txt')
-rw-r--r-- | examples/CMakeLists.txt | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 94f08e8f..5b1a02c6 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -15,87 +15,44 @@ include_directories( if(NOT SKIP_TINYB) add_executable (hellotinyb tinyb/hellotinyb.cpp) - set_target_properties(hellotinyb - PROPERTIES - CXX_STANDARD 11 - COMPILE_FLAGS "-Wall -Wextra -Werror") target_link_libraries (hellotinyb tinyb) add_dependencies(hellotinyb tinyb) add_executable (checkinit tinyb/checkinit.cpp) - set_target_properties(checkinit - PROPERTIES - CXX_STANDARD 11 - COMPILE_FLAGS "-Wall -Wextra -Werror") target_link_libraries (checkinit tinyb) add_dependencies(checkinit tinyb) add_executable (asynctinyb tinyb/asynctinyb.cpp) - set_target_properties(asynctinyb - PROPERTIES - CXX_STANDARD 11 - COMPILE_FLAGS "-Wall -Wextra -Werror") target_link_libraries (asynctinyb tinyb) add_dependencies(asynctinyb tinyb) add_executable (esstinyb tinyb/esstinyb.cpp) - set_target_properties(esstinyb - PROPERTIES - CXX_STANDARD 11 - COMPILE_FLAGS "-Wall -Wextra -Werror") target_link_libraries (esstinyb tinyb) add_dependencies(esstinyb tinyb) add_executable (notifications tinyb/notifications.cpp) - set_target_properties(notifications - PROPERTIES - CXX_STANDARD 11 - COMPILE_FLAGS "-Wall -Wextra -Werror") target_link_libraries (notifications tinyb) add_dependencies(notifications tinyb) add_executable (uuid tinyb/uuid.cpp) - set_target_properties(uuid - PROPERTIES - CXX_STANDARD 11 - COMPILE_FLAGS "-Wall -Wextra -Werror") target_link_libraries (uuid tinyb) add_dependencies(uuid tinyb) add_executable (list_mfg tinyb/list_mfg.cpp) - set_target_properties(list_mfg - PROPERTIES - CXX_STANDARD 11 - COMPILE_FLAGS "-Wall -Wextra -Werror") target_link_libraries (list_mfg tinyb) add_dependencies(list_mfg tinyb) endif() add_executable (dbt_scanner00 direct_bt_scanner00/dbt_scanner00.cpp) -set_target_properties(dbt_scanner00 - PROPERTIES - CXX_STANDARD 17 - CXX_STANDARD_REQUIRED ON - COMPILE_FLAGS "-Wall -Wextra -Werror") target_link_libraries (dbt_scanner00 direct_bt) add_dependencies(dbt_scanner00 direct_bt) add_executable (dbt_scanner01 direct_bt_scanner01/dbt_scanner01.cpp) -set_target_properties(dbt_scanner01 - PROPERTIES - CXX_STANDARD 17 - CXX_STANDARD_REQUIRED ON - COMPILE_FLAGS "-Wall -Wextra -Werror") target_link_libraries (dbt_scanner01 direct_bt) add_dependencies(dbt_scanner01 direct_bt) add_executable (dbt_scanner10 direct_bt_scanner10/dbt_scanner10.cpp) -set_target_properties(dbt_scanner10 - PROPERTIES - CXX_STANDARD 17 - CXX_STANDARD_REQUIRED ON - COMPILE_FLAGS "-Wall -Wextra -Werror") target_link_libraries (dbt_scanner10 direct_bt) add_dependencies(dbt_scanner10 direct_bt) |