Skip to content

Commit

Permalink
cmake: Remove mbed_configure_app_target() calls
Browse files Browse the repository at this point in the history
The CMake function `mbed_configure_app_target()` is now deprecated in
Mbed OS and should not be called in the examples.
  • Loading branch information
wernerlewis committed Apr 15, 2021
1 parent 0de05de commit 5be61a1
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 22 deletions.
2 changes: 0 additions & 2 deletions BLE_Advertising/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ add_subdirectory(mbed-os-ble-utils)

add_executable(${APP_TARGET})

mbed_configure_app_target(${APP_TARGET})

project(${APP_TARGET})

target_include_directories(${APP_TARGET}
Expand Down
2 changes: 0 additions & 2 deletions BLE_GAP/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ add_subdirectory(mbed-os-ble-utils)

add_executable(${APP_TARGET})

mbed_configure_app_target(${APP_TARGET})

project(${APP_TARGET})

target_include_directories(${APP_TARGET}
Expand Down
2 changes: 0 additions & 2 deletions BLE_GattClient_CharacteristicUpdates/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ add_subdirectory(mbed-os-ble-utils)

add_executable(${APP_TARGET})

mbed_configure_app_target(${APP_TARGET})

project(${APP_TARGET})

target_include_directories(${APP_TARGET}
Expand Down
2 changes: 0 additions & 2 deletions BLE_GattClient_CharacteristicWrite/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ add_subdirectory(mbed-os-ble-utils)

add_executable(${APP_TARGET})

mbed_configure_app_target(${APP_TARGET})

project(${APP_TARGET})

target_include_directories(${APP_TARGET}
Expand Down
2 changes: 0 additions & 2 deletions BLE_GattServer_AddService/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ add_subdirectory(mbed-os-ble-utils)

add_executable(${APP_TARGET})

mbed_configure_app_target(${APP_TARGET})

project(${APP_TARGET})

target_include_directories(${APP_TARGET}
Expand Down
2 changes: 0 additions & 2 deletions BLE_GattServer_CharacteristicUpdates/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ add_subdirectory(mbed-os-ble-utils)

add_executable(${APP_TARGET})

mbed_configure_app_target(${APP_TARGET})

project(${APP_TARGET})

target_include_directories(${APP_TARGET}
Expand Down
2 changes: 0 additions & 2 deletions BLE_GattServer_CharacteristicWrite/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ add_subdirectory(mbed-os-ble-utils)

add_executable(${APP_TARGET})

mbed_configure_app_target(${APP_TARGET})

project(${APP_TARGET})

target_include_directories(${APP_TARGET}
Expand Down
2 changes: 0 additions & 2 deletions BLE_GattServer_ExperimentalServices/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ add_subdirectory(mbed-os-experimental-ble-services/services/LinkLoss)

add_executable(${APP_TARGET})

mbed_configure_app_target(${APP_TARGET})

project(${APP_TARGET})

target_sources(${APP_TARGET}
Expand Down
2 changes: 0 additions & 2 deletions BLE_PeriodicAdvertising/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ add_subdirectory(mbed-os-ble-utils)

add_executable(${APP_TARGET})

mbed_configure_app_target(${APP_TARGET})

project(${APP_TARGET})

target_include_directories(${APP_TARGET}
Expand Down
2 changes: 0 additions & 2 deletions BLE_SecurityAndPrivacy/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ add_subdirectory(mbed-os-ble-utils)

add_executable(${APP_TARGET})

mbed_configure_app_target(${APP_TARGET})

project(${APP_TARGET})

target_include_directories(${APP_TARGET}
Expand Down
2 changes: 0 additions & 2 deletions BLE_SupportedFeatures/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ add_subdirectory(${MBED_PATH})

add_executable(${APP_TARGET})

mbed_configure_app_target(${APP_TARGET})

project(${APP_TARGET})

target_include_directories(${APP_TARGET}
Expand Down

0 comments on commit 5be61a1

Please sign in to comment.