mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #13882 from hugueskamba/hk_cmake_use_relative_paths
CMake: Use relative paths to list source files and directoriespull/13904/head
commit
0909f6fac6
|
|
@ -5,11 +5,6 @@
|
|||
|
||||
cmake_minimum_required(VERSION 3.19.0 FATAL_ERROR)
|
||||
|
||||
# Using relative paths behavior
|
||||
if(POLICY CMP0076)
|
||||
cmake_policy(SET CMP0076 NEW)
|
||||
endif()
|
||||
|
||||
include(${MBED_CONFIG_PATH}/mbed_config.cmake)
|
||||
include(${MBED_PATH}/tools/cmake/core.cmake)
|
||||
|
||||
|
|
|
|||
|
|
@ -5,14 +5,14 @@ add_subdirectory(source/framework)
|
|||
|
||||
target_include_directories(mbed-cellular
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include/cellular
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include/cellular/framework
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include/cellular/framework/API
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include/cellular/framework/AT
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include/cellular/framework/common
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include/cellular/framework/device
|
||||
.
|
||||
./include
|
||||
./include/cellular
|
||||
./include/cellular/framework
|
||||
./include/cellular/framework/API
|
||||
./include/cellular/framework/AT
|
||||
./include/cellular/framework/common
|
||||
./include/cellular/framework/device
|
||||
)
|
||||
|
||||
target_compile_definitions(mbed-cellular
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
target_include_directories(mbed-802.15.4-rf
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
.
|
||||
)
|
||||
|
||||
target_sources(mbed-802.15.4-rf
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
target_include_directories(mbed-cellular
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
.
|
||||
)
|
||||
|
||||
target_sources(mbed-cellular
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
target_include_directories(mbed-cellular
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
.
|
||||
)
|
||||
|
||||
target_sources(mbed-cellular
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
target_include_directories(mbed-cellular
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
.
|
||||
)
|
||||
|
||||
target_sources(mbed-cellular
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ endif()
|
|||
|
||||
target_include_directories(mbed-emac
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
.
|
||||
)
|
||||
|
||||
target_sources(mbed-emac
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ add_subdirectory(lwip-wifi)
|
|||
|
||||
target_include_directories(mbed-emac
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
.
|
||||
)
|
||||
|
||||
target_sources(mbed-emac
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ function(_mbed_get_libcc_310_core)
|
|||
endif()
|
||||
target_link_libraries(mbed-mbedtls-cryptocell310
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/${LIBCC_310_CORE}
|
||||
./${LIBCC_310_CORE}
|
||||
)
|
||||
endfunction()
|
||||
|
||||
|
|
|
|||
|
|
@ -3,5 +3,5 @@
|
|||
|
||||
target_include_directories(mbed-mbedtls
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
.
|
||||
)
|
||||
|
|
|
|||
|
|
@ -3,5 +3,5 @@
|
|||
|
||||
target_include_directories(mbed-mbedtls-stm
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
.
|
||||
)
|
||||
|
|
|
|||
|
|
@ -3,5 +3,5 @@
|
|||
|
||||
target_include_directories(mbed-mbedtls-stm
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
.
|
||||
)
|
||||
|
|
|
|||
|
|
@ -3,5 +3,5 @@
|
|||
|
||||
target_include_directories(mbed-mbedtls-stm
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
.
|
||||
)
|
||||
|
|
|
|||
|
|
@ -3,5 +3,5 @@
|
|||
|
||||
target_include_directories(mbed-mbedtls-stm
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
.
|
||||
)
|
||||
|
|
|
|||
|
|
@ -3,5 +3,5 @@
|
|||
|
||||
target_include_directories(mbed-mbedtls-stm
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
.
|
||||
)
|
||||
|
|
|
|||
|
|
@ -3,5 +3,5 @@
|
|||
|
||||
target_include_directories(mbed-mbedtls-stm
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
.
|
||||
)
|
||||
|
|
|
|||
|
|
@ -3,11 +3,11 @@
|
|||
|
||||
target_include_directories(mbed-nfc
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include/nfc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include/nfc/controllers
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/source
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/source/transceiver
|
||||
./include
|
||||
./include/nfc
|
||||
./include/nfc/controllers
|
||||
./source
|
||||
./source/transceiver
|
||||
)
|
||||
|
||||
target_sources(mbed-nfc
|
||||
|
|
|
|||
|
|
@ -3,9 +3,9 @@
|
|||
|
||||
target_include_directories(mbed-lorawan
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/mac
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/phy
|
||||
.
|
||||
./mac
|
||||
./phy
|
||||
)
|
||||
|
||||
target_sources(mbed-lorawan
|
||||
|
|
|
|||
|
|
@ -3,16 +3,16 @@
|
|||
|
||||
target_include_directories(mbed-nanostack-sal_stack
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/Bootstraps
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/Fragmentation
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/IPHC_Decode
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/MAC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/Mesh
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/ND
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/NVM
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/Thread
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/ws
|
||||
.
|
||||
./Bootstraps
|
||||
./Fragmentation
|
||||
./IPHC_Decode
|
||||
./MAC
|
||||
./Mesh
|
||||
./ND
|
||||
./NVM
|
||||
./Thread
|
||||
./ws
|
||||
)
|
||||
|
||||
target_sources(mbed-nanostack-sal_stack
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
target_include_directories(mbed-nanostack-sal_stack
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
.
|
||||
)
|
||||
|
||||
target_sources(mbed-nanostack-sal_stack
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
target_include_directories(mbed-nanostack-sal_stack
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
.
|
||||
)
|
||||
|
||||
target_sources(mbed-nanostack-sal_stack
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
|
||||
target_include_directories(mbed-nanostack-sal_stack
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include
|
||||
.
|
||||
./include
|
||||
)
|
||||
|
||||
target_sources(mbed-nanostack-sal_stack
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
target_include_directories(mbed-nanostack-sal_stack
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
.
|
||||
)
|
||||
|
||||
target_sources(mbed-nanostack-sal_stack
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
target_include_directories(mbed-nanostack-sal_stack
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
.
|
||||
)
|
||||
|
||||
target_sources(mbed-nanostack-sal_stack
|
||||
|
|
|
|||
|
|
@ -3,9 +3,9 @@
|
|||
|
||||
target_include_directories(mbed-nanostack-sal_stack
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/IEEE802_15_4
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/virtual_rf
|
||||
.
|
||||
./IEEE802_15_4
|
||||
./virtual_rf
|
||||
)
|
||||
|
||||
target_sources(mbed-nanostack-sal_stack
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
target_include_directories(mbed-nanostack-sal_stack
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
.
|
||||
)
|
||||
|
||||
target_sources(mbed-nanostack-sal_stack
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
target_include_directories(mbed-nanostack-sal_stack
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
.
|
||||
)
|
||||
|
||||
target_sources(mbed-nanostack-sal_stack
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
|
||||
target_include_directories(mbed-nanostack-sal_stack
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/Include
|
||||
.
|
||||
./Include
|
||||
)
|
||||
|
||||
target_sources(mbed-nanostack-sal_stack
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
target_include_directories(mbed-nanostack-sal_stack
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
.
|
||||
)
|
||||
|
||||
target_sources(mbed-nanostack-sal_stack
|
||||
|
|
|
|||
|
|
@ -3,19 +3,19 @@
|
|||
|
||||
target_include_directories(mbed-nanostack-sal_stack
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/Common
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/PANA
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/TLS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/eapol
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/kmp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/protocols
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/protocols/eap_tls_sec_prot
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/protocols/fwh_sec_prot
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/protocols/gkh_sec_prot
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/protocols/key_sec_prot
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/protocols/radius_sec_prot
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/protocols/tls_sec_prot
|
||||
.
|
||||
./Common
|
||||
./PANA
|
||||
./TLS
|
||||
./eapol
|
||||
./kmp
|
||||
./protocols
|
||||
./protocols/eap_tls_sec_prot
|
||||
./protocols/fwh_sec_prot
|
||||
./protocols/gkh_sec_prot
|
||||
./protocols/key_sec_prot
|
||||
./protocols/radius_sec_prot
|
||||
./protocols/tls_sec_prot
|
||||
)
|
||||
|
||||
target_sources(mbed-nanostack-sal_stack
|
||||
|
|
|
|||
|
|
@ -3,35 +3,35 @@
|
|||
|
||||
target_include_directories(mbed-nanostack-sal_stack
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/Neighbor_cache
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/Trickle
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/blacklist
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/etx
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/fhss
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/fnv_hash
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/hmac
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/ieee_802_11
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/load_balance
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/mac_neighbor_table
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/mdns
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/mdns/fnet
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/mdns/fnet/fnet_stack
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/mdns/fnet/fnet_stack/port
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/mdns/fnet/fnet_stack/port/compiler
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/mdns/fnet/fnet_stack/port/cpu
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/mdns/fnet/fnet_stack/services
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/mdns/fnet/fnet_stack/services/dns
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/mdns/fnet/fnet_stack/services/mdns
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/mdns/fnet/fnet_stack/services/poll
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/mdns/fnet/fnet_stack/services/serial
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/mdns/fnet/fnet_stack/stack
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/mle_service
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/nd_proxy
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/nist_aes_kw
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/pan_blacklist
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/utils
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/whiteboard
|
||||
.
|
||||
./Neighbor_cache
|
||||
./Trickle
|
||||
./blacklist
|
||||
./etx
|
||||
./fhss
|
||||
./fnv_hash
|
||||
./hmac
|
||||
./ieee_802_11
|
||||
./load_balance
|
||||
./mac_neighbor_table
|
||||
./mdns
|
||||
./mdns/fnet
|
||||
./mdns/fnet/fnet_stack
|
||||
./mdns/fnet/fnet_stack/port
|
||||
./mdns/fnet/fnet_stack/port/compiler
|
||||
./mdns/fnet/fnet_stack/port/cpu
|
||||
./mdns/fnet/fnet_stack/services
|
||||
./mdns/fnet/fnet_stack/services/dns
|
||||
./mdns/fnet/fnet_stack/services/mdns
|
||||
./mdns/fnet/fnet_stack/services/poll
|
||||
./mdns/fnet/fnet_stack/services/serial
|
||||
./mdns/fnet/fnet_stack/stack
|
||||
./mle_service
|
||||
./nd_proxy
|
||||
./nist_aes_kw
|
||||
./pan_blacklist
|
||||
./utils
|
||||
./whiteboard
|
||||
)
|
||||
|
||||
target_sources(mbed-nanostack-sal_stack
|
||||
|
|
|
|||
|
|
@ -3,6 +3,6 @@
|
|||
|
||||
target_include_directories(mbed-nanostack-sal_stack
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/base
|
||||
.
|
||||
./base
|
||||
)
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
target_include_directories(mbed-nanostack-sal_stack
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
.
|
||||
)
|
||||
|
||||
target_sources(mbed-nanostack-sal_stack
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
target_include_directories(mbed-nanostack-sal_stack
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
.
|
||||
)
|
||||
|
||||
target_sources(mbed-nanostack-sal_stack
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
|
||||
target_include_directories(mbed-nanostack-sal_stack
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/src
|
||||
.
|
||||
./src
|
||||
)
|
||||
|
||||
target_sources(mbed-nanostack-sal_stack
|
||||
|
|
|
|||
|
|
@ -5,11 +5,11 @@ add_subdirectory(libraries)
|
|||
|
||||
target_include_directories(mbed-nfc
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include/nfc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include/nfc/ndef
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include/nfc/ndef/common
|
||||
.
|
||||
./include
|
||||
./include/nfc
|
||||
./include/nfc/ndef
|
||||
./include/nfc/ndef/common
|
||||
)
|
||||
|
||||
target_sources(mbed-nfc
|
||||
|
|
|
|||
|
|
@ -6,5 +6,5 @@ add_subdirectory(stack)
|
|||
|
||||
target_include_directories(mbed-nfc
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
.
|
||||
)
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
|
||||
target_include_directories(mbed-nfc
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/acore
|
||||
.
|
||||
./acore
|
||||
)
|
||||
|
||||
target_sources(mbed-nfc
|
||||
|
|
|
|||
|
|
@ -6,9 +6,9 @@ add_subdirectory(transceiver)
|
|||
|
||||
target_include_directories(mbed-nfc
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/ndef
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/platform
|
||||
.
|
||||
./ndef
|
||||
./platform
|
||||
)
|
||||
|
||||
target_sources(mbed-nfc
|
||||
|
|
|
|||
|
|
@ -3,9 +3,9 @@
|
|||
|
||||
target_include_directories(mbed-nfc
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/iso7816
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/isodep
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/type4
|
||||
./iso7816
|
||||
./isodep
|
||||
./type4
|
||||
)
|
||||
|
||||
target_sources(mbed-nfc
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
target_include_directories(mbed-nfc
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
.
|
||||
)
|
||||
|
||||
target_sources(mbed-nfc
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ add_library(mbed-usb INTERFACE)
|
|||
|
||||
target_include_directories(mbed-usb
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
.
|
||||
)
|
||||
|
||||
target_sources(mbed-usb
|
||||
|
|
|
|||
|
|
@ -5,10 +5,10 @@ add_library(mbed-events INTERFACE)
|
|||
|
||||
target_include_directories(mbed-events
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include/events
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include/events/internal
|
||||
.
|
||||
./include
|
||||
./include/events
|
||||
./include/events/internal
|
||||
)
|
||||
|
||||
target_sources(mbed-events
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ add_subdirectory(storage)
|
|||
|
||||
target_include_directories(mbed-psa
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/platform
|
||||
./platform
|
||||
)
|
||||
|
||||
target_sources(mbed-psa
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
target_include_directories(mbed-core
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
.
|
||||
)
|
||||
|
||||
target_sources(mbed-core
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
target_include_directories(mbed-core
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
.
|
||||
)
|
||||
|
||||
target_sources(mbed-core
|
||||
|
|
|
|||
|
|
@ -3,11 +3,11 @@
|
|||
|
||||
target_include_directories(mbed-core
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include/rtos
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include/rtos/internal
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/source
|
||||
.
|
||||
./include
|
||||
./include/rtos
|
||||
./include/rtos/internal
|
||||
./source
|
||||
)
|
||||
|
||||
target_sources(mbed-core
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ endif()
|
|||
|
||||
target_include_directories(mbed-core
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
.
|
||||
)
|
||||
|
||||
target_sources(mbed-core
|
||||
|
|
|
|||
|
|
@ -62,6 +62,6 @@ target_sources(mbed-core
|
|||
|
||||
target_include_directories(mbed-core
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
.
|
||||
drivers
|
||||
)
|
||||
|
|
|
|||
|
|
@ -11,5 +11,5 @@ target_sources(mbed-core
|
|||
|
||||
target_include_directories(mbed-core
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
.
|
||||
)
|
||||
|
|
|
|||
|
|
@ -32,5 +32,5 @@ target_sources(mbed-core
|
|||
|
||||
target_include_directories(mbed-core
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
.
|
||||
)
|
||||
|
|
|
|||
|
|
@ -7,5 +7,5 @@ endif()
|
|||
|
||||
target_include_directories(mbed-core
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
.
|
||||
)
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ endif()
|
|||
|
||||
target_include_directories(mbed-core
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
.
|
||||
)
|
||||
|
||||
target_sources(mbed-core
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ endif()
|
|||
|
||||
target_include_directories(mbed-core
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
.
|
||||
)
|
||||
|
||||
target_sources(mbed-core
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@ endif()
|
|||
|
||||
target_include_directories(mbed-core
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/config
|
||||
.
|
||||
./config
|
||||
)
|
||||
|
||||
target_sources(mbed-core
|
||||
|
|
|
|||
|
|
@ -3,5 +3,5 @@
|
|||
|
||||
target_include_directories(mbed-core
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
.
|
||||
)
|
||||
|
|
|
|||
|
|
@ -4,11 +4,11 @@
|
|||
|
||||
target_include_directories(mbed-core
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/ble
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/ble/ble_radio_notification
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/libraries/bootloader
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/libraries/bootloader/dfu
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/libraries/fstorage
|
||||
./ble
|
||||
./ble/ble_radio_notification
|
||||
./libraries/bootloader
|
||||
./libraries/bootloader/dfu
|
||||
./libraries/fstorage
|
||||
)
|
||||
|
||||
target_sources(mbed-core
|
||||
|
|
|
|||
|
|
@ -4,9 +4,9 @@
|
|||
|
||||
target_include_directories(mbed-core
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/libraries
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/libraries/fstorage
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/nrf_soc_nosd/
|
||||
./libraries
|
||||
./libraries/fstorage
|
||||
./nrf_soc_nosd/
|
||||
)
|
||||
|
||||
target_sources(mbed-core
|
||||
|
|
|
|||
|
|
@ -4,6 +4,6 @@
|
|||
|
||||
target_include_directories(mbed-core
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/headers
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/headers/nrf52
|
||||
./headers
|
||||
./headers/nrf52
|
||||
)
|
||||
|
|
|
|||
|
|
@ -4,6 +4,6 @@
|
|||
|
||||
target_include_directories(mbed-core
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/headers
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/headers/nrf52
|
||||
./headers
|
||||
./headers/nrf52
|
||||
)
|
||||
|
|
|
|||
|
|
@ -4,10 +4,10 @@
|
|||
|
||||
target_include_directories(mbed-core
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/headers
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/libraries
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/libraries/fstorage
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/nrf_soc_nosd
|
||||
./headers
|
||||
./libraries
|
||||
./libraries/fstorage
|
||||
./nrf_soc_nosd
|
||||
)
|
||||
|
||||
target_sources(mbed-core
|
||||
|
|
|
|||
|
|
@ -4,10 +4,10 @@
|
|||
|
||||
target_include_directories(mbed-core
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/headers
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/libraries
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/libraries/fstorage
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/nrf_soc_nosd
|
||||
./headers
|
||||
./libraries
|
||||
./libraries/fstorage
|
||||
./nrf_soc_nosd
|
||||
)
|
||||
|
||||
target_sources(mbed-core
|
||||
|
|
|
|||
|
|
@ -4,6 +4,6 @@
|
|||
|
||||
target_include_directories(mbed-core
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/headers
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/headers/nrf52
|
||||
./headers
|
||||
./headers/nrf52
|
||||
)
|
||||
|
|
|
|||
|
|
@ -4,10 +4,10 @@
|
|||
|
||||
target_include_directories(mbed-core
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/headers
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/libraries
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/libraries/fstorage
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/nrf_soc_nosd
|
||||
./headers
|
||||
./libraries
|
||||
./libraries/fstorage
|
||||
./nrf_soc_nosd
|
||||
)
|
||||
|
||||
target_sources(mbed-core
|
||||
|
|
|
|||
|
|
@ -4,6 +4,6 @@
|
|||
|
||||
target_include_directories(mbed-core
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/headers
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/headers/nrf52
|
||||
./headers
|
||||
./headers/nrf52
|
||||
)
|
||||
|
|
|
|||
|
|
@ -4,22 +4,22 @@
|
|||
|
||||
target_include_directories(mbed-core
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/libraries
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/libraries/atomic
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/libraries/atomic_fifo
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/libraries/balloc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/libraries/delay
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/libraries/experimental_log
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/libraries/experimental_log/src
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/libraries/experimental_memobj
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/libraries/experimental_section_vars
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/libraries/fds
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/libraries/fstorage
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/libraries/queue
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/libraries/spi_mngr
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/libraries/strerror
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/libraries/twi_mngr
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/libraries/util
|
||||
./libraries
|
||||
./libraries/atomic
|
||||
./libraries/atomic_fifo
|
||||
./libraries/balloc
|
||||
./libraries/delay
|
||||
./libraries/experimental_log
|
||||
./libraries/experimental_log/src
|
||||
./libraries/experimental_memobj
|
||||
./libraries/experimental_section_vars
|
||||
./libraries/fds
|
||||
./libraries/fstorage
|
||||
./libraries/queue
|
||||
./libraries/spi_mngr
|
||||
./libraries/strerror
|
||||
./libraries/twi_mngr
|
||||
./libraries/util
|
||||
)
|
||||
|
||||
target_sources(mbed-core
|
||||
|
|
|
|||
|
|
@ -3,10 +3,10 @@
|
|||
|
||||
target_include_directories(mbed-core
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/nrfx
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/nrfx/legacy
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/nrfx/legacy/ble_flash
|
||||
.
|
||||
./nrfx
|
||||
./nrfx/legacy
|
||||
./nrfx/legacy/ble_flash
|
||||
)
|
||||
|
||||
target_sources(mbed-core
|
||||
|
|
|
|||
|
|
@ -3,17 +3,17 @@
|
|||
|
||||
target_include_directories(mbed-core
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/nrfx
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/nrfx/drivers
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/nrfx/drivers/include
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/nrfx/drivers/src
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/nrfx/drivers/src/prs
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/nrfx/hal
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/nrfx/mdk
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/nrfx/soc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/softdevice
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/softdevice/common
|
||||
.
|
||||
./nrfx
|
||||
./nrfx/drivers
|
||||
./nrfx/drivers/include
|
||||
./nrfx/drivers/src
|
||||
./nrfx/drivers/src/prs
|
||||
./nrfx/hal
|
||||
./nrfx/mdk
|
||||
./nrfx/soc
|
||||
./softdevice
|
||||
./softdevice/common
|
||||
)
|
||||
|
||||
target_sources(mbed-core
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ endif()
|
|||
|
||||
target_include_directories(mbed-core
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
.
|
||||
)
|
||||
|
||||
target_sources(mbed-core
|
||||
|
|
|
|||
|
|
@ -22,9 +22,9 @@ add_subdirectory(STM32Cube_FW)
|
|||
|
||||
target_include_directories(mbed-core
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/STM32Cube_FW
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/STM32Cube_FW/CMSIS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/STM32Cube_FW/STM32F4xx_HAL_Driver
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/STM32Cube_FW/STM32F4xx_HAL_Driver/Legacy
|
||||
.
|
||||
./STM32Cube_FW
|
||||
./STM32Cube_FW/CMSIS
|
||||
./STM32Cube_FW/STM32F4xx_HAL_Driver
|
||||
./STM32Cube_FW/STM32F4xx_HAL_Driver/Legacy
|
||||
)
|
||||
|
|
|
|||
|
|
@ -3,5 +3,5 @@
|
|||
|
||||
target_include_directories(mbed-core
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
.
|
||||
)
|
||||
|
|
|
|||
|
|
@ -10,6 +10,6 @@ target_sources(mbed-core
|
|||
|
||||
target_include_directories(mbed-core
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/CMSIS
|
||||
.
|
||||
./CMSIS
|
||||
)
|
||||
|
|
|
|||
|
|
@ -98,5 +98,5 @@ target_sources(mbed-core
|
|||
|
||||
target_include_directories(mbed-core
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
.
|
||||
)
|
||||
|
|
|
|||
|
|
@ -8,5 +8,5 @@ target_sources(mbed-core
|
|||
|
||||
target_include_directories(mbed-core
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
.
|
||||
)
|
||||
|
|
|
|||
|
|
@ -34,5 +34,5 @@ endif()
|
|||
|
||||
target_include_directories(mbed-core
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
.
|
||||
)
|
||||
|
|
|
|||
|
|
@ -11,5 +11,5 @@ target_sources(mbed-core
|
|||
|
||||
target_include_directories(mbed-core
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
.
|
||||
)
|
||||
|
|
|
|||
|
|
@ -20,5 +20,5 @@ target_sources(mbed-core
|
|||
|
||||
target_include_directories(mbed-core
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
.
|
||||
)
|
||||
|
|
|
|||
|
|
@ -10,6 +10,6 @@ target_sources(mbed-core
|
|||
|
||||
target_include_directories(mbed-core
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
.
|
||||
CMSIS
|
||||
)
|
||||
|
|
|
|||
|
|
@ -8,5 +8,5 @@ target_sources(mbed-core
|
|||
|
||||
target_include_directories(mbed-core
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
.
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue