mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-10 12:15:21 +00:00
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> |
||
---|---|---|
.. | ||
app | ||
flash | ||
qemu | ||
reports | ||
test | ||
usage | ||
ccache.cmake | ||
extensions.cmake | ||
extra_flags.cmake | ||
fpu-for-gcc-m-cpu.cmake | ||
gcc-m-cpu.cmake | ||
hex.cmake | ||
host-tools-zephyr.cmake | ||
host-tools.cmake | ||
kconfig.cmake | ||
pristine.cmake | ||
toolchain-espressif.cmake | ||
toolchain-gcc.cmake | ||
toolchain-gccarmemb.cmake | ||
toolchain-issm.cmake | ||
toolchain-xtools.cmake | ||
toolchain-zephyr.cmake | ||
toolchain.cmake | ||
version.cmake |