File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ set(MBED_ROOT ${CMAKE_CURRENT_SOURCE_DIR}/mbed-os CACHE INTERNAL "")
8
8
set (MBED_CONFIG_PATH ${CMAKE_CURRENT_SOURCE_DIR} /.mbedbuild CACHE INTERNAL "" )
9
9
set (APP_TARGET NFC_EEPROM )
10
10
11
+ include (${MBED_ROOT} /tools/cmake/app.cmake )
12
+
11
13
add_subdirectory (${MBED_ROOT} )
12
14
13
15
add_executable (${APP_TARGET} )
@@ -33,8 +35,9 @@ target_sources(${APP_TARGET}
33
35
)
34
36
35
37
target_link_libraries (${APP_TARGET}
36
- mbed-os
37
- mbed-os-nfc
38
+ PRIVATE
39
+ mbed-os
40
+ mbed-nfc
38
41
)
39
42
40
43
mbed_generate_bin_hex (${APP_TARGET} )
Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ set(MBED_ROOT ${CMAKE_CURRENT_SOURCE_DIR}/mbed-os CACHE INTERNAL "")
8
8
set (MBED_CONFIG_PATH ${CMAKE_CURRENT_SOURCE_DIR} /.mbedbuild CACHE INTERNAL "" )
9
9
set (APP_TARGET NFC_SmartPoster )
10
10
11
+ include (${MBED_ROOT} /tools/cmake/app.cmake )
12
+
11
13
add_subdirectory (${MBED_ROOT} )
12
14
13
15
add_executable (${APP_TARGET} )
@@ -32,8 +34,9 @@ target_sources(${APP_TARGET}
32
34
)
33
35
34
36
target_link_libraries (${APP_TARGET}
35
- mbed-os
36
- mbed-os-nfc
37
+ PRIVATE
38
+ mbed-os
39
+ mbed-nfc
37
40
)
38
41
39
42
mbed_generate_bin_hex (${APP_TARGET} )
You can’t perform that action at this time.
0 commit comments