We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 37e1926 + 607eeb0 commit 7282538Copy full SHA for 7282538
BLE_LED/CMakeLists.txt
@@ -8,6 +8,8 @@ set(MBED_ROOT ${CMAKE_CURRENT_SOURCE_DIR}/mbed-os CACHE INTERNAL "")
8
set(MBED_CONFIG_PATH ${CMAKE_CURRENT_SOURCE_DIR}/.mbedbuild CACHE INTERNAL "")
9
set(APP_TARGET BLE_LED)
10
11
+include(${MBED_ROOT}/tools/cmake/app.cmake)
12
+
13
add_subdirectory(${MBED_ROOT})
14
15
add_executable(${APP_TARGET})
@@ -29,11 +31,12 @@ target_sources(${APP_TARGET}
29
31
)
30
32
33
target_link_libraries(${APP_TARGET}
- mbed-os
- mbed-os-events
34
- mbed-os-ble
35
- mbed-os-ble-cordio
36
- mbed-os-ble-blue_nrg
+ PRIVATE
+ mbed-os
+ mbed-events
37
+ mbed-ble
38
+ mbed-ble-cordio
39
+ mbed-ble-blue_nrg
40
41
42
mbed_generate_bin_hex(${APP_TARGET})
0 commit comments