mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-17 01:25:58 +00:00
The target_cc_option[_fallback]() CMake extentions are now C++ aware. This means that they will now test options with both C and C++ compiler and include flags appropriately. This fixes a warning that was issued when -Wno-pointer-sign was used with .cpp files. cc1plus: warning: command line option ‘-Wno-pointer-sign’ is valid for C/ObjC but not for C++ NB: This patch is designed to only affect CONFIG_CPLUSPLUS builds in case there are any adverse affects with using generator expressions. 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 |