zephyr/cmake/compiler
Danny Oerndrup 4ddbc0096a cmake: Toolchain abstraction: Introducing macro toolchain_cc_imacros
The macro is intended to abstract the -imacros compiler option for
inclusion of the autoconf.h header file. The abstraction allows for a
given toolchain to decide how the inclusion of the header file is to
be done.

The intent here is to abstract Zephyr's dependence on toolchains,
thus allowing for easier porting to other, perhaps commercial,
toolchains and/or usecases.

No functional change expected.

Signed-off-by: Danny Oerndrup <daor@demant.com>
2019-06-12 13:05:40 +02:00
..
clang cmake: Toolchain abstraction: Introducing macro toolchain_cc_imacros 2019-06-12 13:05:40 +02:00
gcc cmake: Toolchain abstraction: Introducing macro toolchain_cc_imacros 2019-06-12 13:05:40 +02:00
host-gcc cmake: Toolchain abstraction: Introducing macro toolchain_cc_imacros 2019-06-12 13:05:40 +02:00
xcc cmake: Toolchain abstraction: Introducing macro toolchain_cc_imacros 2019-06-12 13:05:40 +02:00