zephyr/cmake/compiler/clang
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
..
generic.cmake cmake: clang: Detect host installed clang 2019-04-30 09:33:54 -04:00
target.cmake cmake: toolchain abstraction for address sanitizer 2019-10-04 13:39:52 -04:00
target_coverage.cmake cmake: toolchain abstraction for coverage 2019-09-17 11:25:29 +02:00
target_sanitizers.cmake cmake: toolchain abstraction for undefined behaviour sanitizer 2019-10-07 15:00:20 +02:00
target_warnings.cmake cmake: toolchain: generalize exclusion of CXX options 2019-12-18 21:45:00 +01:00