zephyr/cmake
Peter A. Bigot 60ca2333dc cmake: toolchain: generalize exclusion of CXX options
-Wold-style-definition is not a supported option for C++ builds.  To
prevent it being passed:
* the list of compiler flags to be excluded from C++ builds is moved
  to be toolchain-specific;
* -Wold-style-definition is added to that list for gcc and clang;
* -Wold-style-definition is moved from zephyr_compiler_options to
  zephyr_cc_option so the option checking code is executed for it.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
2019-12-18 21:45:00 +01:00
..
app
backports
bintools
compiler cmake: toolchain: generalize exclusion of CXX options 2019-12-18 21:45:00 +01:00
emu
flash
ide
linker/ld
reports
toolchain
usage
util
boards.cmake
ccache.cmake
cfb.cmake
dts.cmake
extensions.cmake cmake: toolchain: generalize exclusion of CXX options 2019-12-18 21:45:00 +01:00
extra_flags.cmake
gcc-m-cpu.cmake
generic_toolchain.cmake
git.cmake
hex.cmake
host-tools.cmake
kconfig.cmake
kobj.cmake
pristine.cmake
python.cmake
target_toolchain.cmake
version.cmake
zephyr_module.cmake