zephyr/cmake
Sebastian Bøe f71c3fa665 cmake: Extend cc-option support to C++
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>
2017-11-27 22:21:47 -05:00
..
app cmake: Remove the PREBUILT_HOST_TOOLS variable 2017-11-17 17:55:26 -05: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_INSTANCE option handling. 2017-11-24 08:28:20 -05:00
reports Introduce cmake-based rewrite of KBuild 2017-11-08 20:00:22 -05:00
test Introduce cmake-based rewrite of KBuild 2017-11-08 20:00:22 -05:00
usage Introduce cmake-based rewrite of KBuild 2017-11-08 20:00:22 -05:00
ccache.cmake Introduce cmake-based rewrite of KBuild 2017-11-08 20:00:22 -05:00
extensions.cmake cmake: Extend cc-option support to C++ 2017-11-27 22:21:47 -05:00
extra_flags.cmake cmake: Refactored EXTRA_FLAGS code into a dedicated script 2017-11-15 19:47:44 -05:00
fpu-for-gcc-m-cpu.cmake Introduce cmake-based rewrite of KBuild 2017-11-08 20:00:22 -05:00
gcc-m-cpu.cmake Introduce cmake-based rewrite of KBuild 2017-11-08 20:00:22 -05:00
hex.cmake cmake: fixed version handling 2017-11-08 20:00:22 -05:00
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 Introduce cmake-based rewrite of KBuild 2017-11-08 20:00:22 -05:00
pristine.cmake Introduce cmake-based rewrite of KBuild 2017-11-08 20:00:22 -05:00
toolchain-espressif.cmake Introduce cmake-based rewrite of KBuild 2017-11-08 20:00:22 -05:00
toolchain-gcc.cmake cmake: Pass GDB env var to flasher script 2017-11-08 20:00:22 -05:00
toolchain-gccarmemb.cmake Introduce cmake-based rewrite of KBuild 2017-11-08 20:00:22 -05:00
toolchain-issm.cmake Introduce cmake-based rewrite of KBuild 2017-11-08 20:00:22 -05:00
toolchain-xtools.cmake Introduce cmake-based rewrite of KBuild 2017-11-08 20:00:22 -05:00
toolchain-zephyr.cmake Introduce cmake-based rewrite of KBuild 2017-11-08 20:00:22 -05:00
toolchain.cmake Introduce cmake-based rewrite of KBuild 2017-11-08 20:00:22 -05:00
version.cmake release: make cmake happy about version 2017-11-19 23:16:03 -05:00