zephyr/cmake
Sebastian Bøe 89516fbc25 cmake: Change the zephyr_get_* API to be LANG-aware
When exporting flags to an external build system we need to deal with
the fact that we sometimes use generator expressions. Specifically, we
use generator expressions that look like this:

$<$<COMPILE_LANGUAGE:CXX>:-fno-exceptions>

This patch replaces the old API with a new one where users can ask for
compile options for specific languages, like this:

zephyr_get_compile_options_for_lang_as_string(CXX x)

The existing API would have either crashed or silently omitted flags
when a COMPILE_LANG generator expression was present.

Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
2017-12-05 10:08:40 -05:00
..
app cmake: Re-organize syscall generation wrt. the build system 2017-12-04 10:51:07 -08:00
flash cmake: flash: Remove fake path to zephyr_flash_debug.py 2017-11-14 12:07:44 -06:00
qemu cmake: qemu: Restore QEMU_PTY/QEMU_PIPE option handling. 2017-11-27 22:33:56 -05:00
reports
test
usage
ccache.cmake
extensions.cmake cmake: Change the zephyr_get_* API to be LANG-aware 2017-12-05 10:08:40 -05:00
extra_flags.cmake cmake: Fix EXTRA_LDFLAGS feature 2017-12-05 08:39:43 -05:00
fpu-for-gcc-m-cpu.cmake
gcc-m-cpu.cmake
hex.cmake
host-tools-zephyr.cmake cmake: Fix SDK-less builds 2017-11-13 13:14:32 -05:00
host-tools.cmake cmake: Remove the PREBUILT_HOST_TOOLS variable 2017-11-17 17:55:26 -05:00
kconfig.cmake cmake: Move syscall_macros.h generation into the build stage 2017-11-30 06:49:33 -05:00
pristine.cmake
toolchain-espressif.cmake
toolchain-gcc.cmake cmake: Pass GDB env var to flasher script 2017-11-08 20:00:22 -05:00
toolchain-gccarmemb.cmake
toolchain-issm.cmake
toolchain-xtools.cmake
toolchain-zephyr.cmake
toolchain.cmake
version.cmake release: make cmake happy about version 2017-11-19 23:16:03 -05:00