zephyr/cmake
Sebastian Bøe b9e8cd1133 cmake: Refactor usage of target_link_libraries on Zephyr libraries
CMake has several prototypes/signatures for the function
'target_link_libraries'. This commit migrates the usage of
'target_link_libraries' on Zephyr CMake libraries from the old 'plain'
signature to the new '<PRIVATE|PUBLIC|INTERFACE>' signature.

For technical reasons the two signatures can not be mixed. Each
library must exclusively use either the old or new signature.

The 'old' plain signature is equivalent to using the PUBLIC
signature. Migrating to use 'PUBLIC' is therefore expected to be a
safe change.

After the migration it will be possible to use the PRIVATE and
INTERFACE signatures on Zephyr CMake libraries. This is useful for
instance to fix issue 8438.

Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
2018-08-09 14:03:10 +02:00
..
app cmake: Refactor usage of target_link_libraries on Zephyr libraries 2018-08-09 14:03:10 +02:00
compiler cmake: Improve the error message when the compiler is not executable 2018-07-31 12:40:37 -04:00
emu nsim: add run target 2018-07-19 18:59:07 -04:00
flash scripts: west: introduce common runner configuration 2018-05-19 07:01:39 +03:00
reports scripts: fix ram_reports and generate bin file if missing 2018-01-29 05:16:52 +05:30
toolchain build: Replace GCC ARM Embedded with GNU Arm Embedded 2018-08-09 13:57:55 +02:00
usage kconfig: Remove targets specific to the C implementation 2018-05-07 21:53:37 +02:00
util cmake: Rename process.cmake to reflect contents 2018-07-12 23:11:46 -04:00
ccache.cmake
dts.cmake cmake: replace PROJECT_SOURCE_DIR with ZEPHYR_BASE 2018-06-18 15:25:55 -04:00
extensions.cmake cmake: Refactor usage of target_link_libraries on Zephyr libraries 2018-08-09 14:03:10 +02:00
extra_flags.cmake
fpu-for-gcc-m-cpu.cmake cmake: indicate single precision floating-point for Cortex-M33 2018-02-23 21:42:22 -06:00
gcc-m-cpu.cmake arch: arm: update compile options for DSP 2018-07-03 12:17:13 -05:00
hex.cmake
host-tools-zephyr.cmake toolchain: require Zephyr SDK 0.9.3 2018-07-08 15:39:35 -04:00
host-tools.cmake build: Replace GCC ARM Embedded with GNU Arm Embedded 2018-08-09 13:57:55 +02:00
kconfig.cmake cmake: kconfig: Fix broken menuconfig due to misspelling 2018-08-03 18:41:43 +02:00
kobj.cmake userspace: generate list of kernel object sizes 2018-05-16 17:32:59 -07:00
pristine.cmake
toolchain.cmake build: Replace GCC ARM Embedded with GNU Arm Embedded 2018-08-09 13:57:55 +02:00
version.cmake cmake: Use path-corrected version of ZEPHYR_BASE 2018-01-11 14:59:03 -05:00