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 c11e5ee + 10dd561 commit 795ac3cCopy full SHA for 795ac3c
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 mbed-os-example-devicekey)
10
11
+include(${MBED_ROOT}/tools/cmake/app.cmake)
12
+
13
add_subdirectory(${MBED_ROOT})
14
15
add_executable(${APP_TARGET})
@@ -24,10 +26,11 @@ target_sources(${APP_TARGET}
24
26
)
25
27
28
target_link_libraries(${APP_TARGET}
- mbed-os
- mbed-os-storage-qspif
29
- mbed-os-device_key
30
- mbed-os-mbedtls
+ PRIVATE
+ mbed-os
31
+ mbed-storage-qspif
32
+ mbed-device_key
33
+ mbed-mbedtls
34
35
36
mbed_generate_bin_hex(${APP_TARGET})
0 commit comments