Skip to content

CMake: Use renamed Mbed CMake targets component #86

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 23, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions NFC_EEPROM/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ set(MBED_ROOT ${CMAKE_CURRENT_SOURCE_DIR}/mbed-os CACHE INTERNAL "")
set(MBED_CONFIG_PATH ${CMAKE_CURRENT_SOURCE_DIR}/.mbedbuild CACHE INTERNAL "")
set(APP_TARGET NFC_EEPROM)

include(${MBED_ROOT}/tools/cmake/app.cmake)

add_subdirectory(${MBED_ROOT})

add_executable(${APP_TARGET})
Expand All @@ -33,8 +35,9 @@ target_sources(${APP_TARGET}
)

target_link_libraries(${APP_TARGET}
mbed-os
mbed-os-nfc
PRIVATE
mbed-os
mbed-nfc
)

mbed_generate_bin_hex(${APP_TARGET})
Expand Down
7 changes: 5 additions & 2 deletions NFC_SmartPoster/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ set(MBED_ROOT ${CMAKE_CURRENT_SOURCE_DIR}/mbed-os CACHE INTERNAL "")
set(MBED_CONFIG_PATH ${CMAKE_CURRENT_SOURCE_DIR}/.mbedbuild CACHE INTERNAL "")
set(APP_TARGET NFC_SmartPoster)

include(${MBED_ROOT}/tools/cmake/app.cmake)

add_subdirectory(${MBED_ROOT})

add_executable(${APP_TARGET})
Expand All @@ -32,8 +34,9 @@ target_sources(${APP_TARGET}
)

target_link_libraries(${APP_TARGET}
mbed-os
mbed-os-nfc
PRIVATE
mbed-os
mbed-nfc
)

mbed_generate_bin_hex(${APP_TARGET})
Expand Down