include: Prefix includes to use a scope
Move include paths and add new target_include_directories to support backwards compatibility: * /include -> /include/zephyr example: <irq.h> -> <zephyr/irq.h> Issue #41543 Signed-off-by: Yuval Peress <peress@google.com>
This commit is contained in:
parent
33c0995e03
commit
53ef68d459
797 changed files with 233 additions and 229 deletions
|
@ -6,7 +6,7 @@ include_directories(
|
|||
src
|
||||
${ZEPHYR_BASE}/tests/bluetooth/controller/mock_ctrl/include
|
||||
${ZEPHYR_BASE}/tests/bluetooth/controller/common/include
|
||||
${ZEPHYR_BASE}/include/bluetooth
|
||||
${ZEPHYR_BASE}/include/zephyr/bluetooth
|
||||
${ZEPHYR_BASE}/subsys/bluetooth
|
||||
${ZEPHYR_BASE}/subsys/bluetooth/controller
|
||||
${ZEPHYR_BASE}/subsys/bluetooth/controller/util
|
||||
|
|
|
@ -4,6 +4,6 @@ cmake_minimum_required(VERSION 3.20.0)
|
|||
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
|
||||
project(cmsis_rtos_v1)
|
||||
|
||||
target_include_directories(app PRIVATE ${ZEPHYR_BASE}/include/portability)
|
||||
target_include_directories(app PRIVATE ${ZEPHYR_BASE}/include/zephyr/portability)
|
||||
FILE(GLOB app_sources src/*.c)
|
||||
target_sources(app PRIVATE ${app_sources})
|
||||
|
|
|
@ -4,6 +4,6 @@ cmake_minimum_required(VERSION 3.20.0)
|
|||
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
|
||||
project(cmsis_rtos_v2)
|
||||
|
||||
target_include_directories(app PRIVATE ${ZEPHYR_BASE}/include/portability)
|
||||
target_include_directories(app PRIVATE ${ZEPHYR_BASE}/include/zephyr/portability)
|
||||
FILE(GLOB app_sources src/*.c)
|
||||
target_sources(app PRIVATE ${app_sources})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue