zephyr/cmake
Mark Ruvald Pedersen 63df409906 cmake: Toolchain abstraction: C++
Introduce toolchain_cc_cpp_*-family of macros.

Move the following into the toolchain_cc_cpp_* macros:
 * Common base set of flags
 * C++ standard version
 * RTTI
 * Exceptions

These macros must be implemented by every compiler port.
These macros set the respective flags, but leaves logic and control to
the root CMakeLists.txt file.

No functional change expected.

Clang's C++ flags are compatible with gcc, and are thus
inherited.

This is motivated by the wish to abstract Zephyr's usage of toolchains,
permitting easier porting to other (commercial) toolchains.

Signed-off-by: Mark Ruvald Pedersen <mped@oticon.com>
2019-02-19 12:33:19 -05:00
..
app CMake/Kconfig: CMake and Kconfig build integration 2019-02-08 22:47:02 -05:00
backports cmake: Fixed python detection bug 2018-12-21 11:13:03 +01:00
compiler cmake: Toolchain abstraction: C++ 2019-02-19 12:33:19 -05:00
emu sanitycheck: Add Renode cmake configuration 2019-01-14 09:12:07 -05:00
flash cmake: Use west installation directly 2019-01-29 10:15:01 +01:00
ide cmake: Eclipse CDT4 generator amendment 2018-10-17 18:16:55 -04:00
reports scripts: fix ram_reports and generate bin file if missing 2018-01-29 05:16:52 +05:30
toolchain toolchain: host toolchain does not support newlib 2019-02-10 11:57:17 -06:00
usage cmake: Fix how usage finds board names 2019-01-31 03:17:19 -06:00
util cmake: Whitespace and commentary fixes 2018-12-20 12:23:50 +01:00
ccache.cmake Introduce cmake-based rewrite of KBuild 2017-11-08 20:00:22 -05:00
cfb.cmake subsys: fb: add support for generating CFB font headers at build time 2018-11-28 11:46:00 +01:00
dts.cmake cmake: Run dts before kconfig 2019-02-01 10:16:06 -06:00
extensions.cmake cmake: dtc: silence output from check_dtc_flag 2019-01-25 23:14:54 -05:00
extra_flags.cmake cmake: Fix EXTRA_LDFLAGS feature 2017-12-05 08:39:43 -05:00
fpu-for-gcc-m-cpu.cmake soc: arm: Kconfig option to indicate double-precision FP 2019-02-08 14:09:18 -06:00
gcc-m-cpu.cmake arch: arm: update compile options for DSP 2018-07-03 12:17:13 -05:00
generic_toolchain.cmake x86_64: use host toolchain 2019-02-10 11:57:17 -06:00
git.cmake cmake: boilerplate: Move out finding git+python to separate cmake files 2018-12-27 19:24:51 -05:00
hex.cmake cmake: fixed version handling 2017-11-08 20:00:22 -05:00
host-tools.cmake doc: restructure and create index pages 2019-02-05 07:04:40 -05:00
kconfig.cmake sanitycheck: do no overide OVERLAY_CONFIG 2019-02-18 10:49:08 -05:00
kobj.cmake cmake: Use variables for target names 2019-01-19 07:21:55 -05:00
pristine.cmake Introduce cmake-based rewrite of KBuild 2017-11-08 20:00:22 -05:00
python.cmake cmake: boilerplate: Move out finding git+python to separate cmake files 2018-12-27 19:24:51 -05:00
target_toolchain.cmake cmake: Document CMAKE_SYSTEM_-variables, and add CMAKE_SYSTEM_VERSION 2018-12-20 11:15:20 +01:00
version.cmake cmake: version: Misc. refactorings for readability 2018-10-01 09:16:05 -04:00
zephyr_module.cmake CMake/Kconfig: CMake and Kconfig build integration 2019-02-08 22:47:02 -05:00