zephyr/cmake
Daniel Leung 146e22fca4 cmake: xcc/xt-clang: fix for proper system include paths
Although xt-clang is based on clang, for some reason, it still
lists xcc system include path as the first search path (e.g.
for stddef.h), and the clang system include path as last. This
creates a big issue when the code starts to use any standards
past C89 (since xcc is based on GCC 4.2). We can use compiler
property nostdin_include to add -isystem to compiler options.
However, some modules (e.g. picolibcs) somehow ignore this.
So we also need to forcibly do add_compile_options() to make
sure the clang system include path is placed before the xcc
system include path.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2025-06-11 16:10:53 -07:00
..
app
bintools CMake: Add support for .mot binary file format 2025-05-02 09:18:16 +02:00
compiler cmake: xcc/xt-clang: fix for proper system include paths 2025-06-11 16:10:53 -07:00
emu cmake/emu: Use SIMICS_PROJECT environment variable as working dir 2025-05-20 12:47:25 +02:00
flash CMake: Add support for .mot binary file format 2025-05-02 09:18:16 +02:00
ide
linker iar: linker: Do --whole_archive linking 2025-06-09 14:37:05 -07:00
linker_script linker: Place .tbss section in RAM, not FLASH 2025-06-10 22:13:09 +02:00
makefile_exports
modules cmake: Fix warning if a Zephyr library is created in app-mode 2025-06-09 15:02:01 -07:00
reports
sca sca: add HTML summary and full report options to ECLAIR configuration 2025-06-10 12:53:59 -04:00
toolchain iar: toolchain: Implement IAR static init routine 2025-05-12 19:18:56 +02:00
usage
util
cfb.cmake
extra_flags.cmake
gcc-m-cpu.cmake
gcc-m-fpu.cmake
gen_version_h.cmake
kobj.cmake cmake: fix syscall dependencies 2025-05-13 16:23:54 +02:00
llext-edk.cmake
mcuboot.cmake
package_helper.cmake
pristine.cmake
target_toolchain_flags.cmake
verify-toolchain.cmake
vif.cmake
yaml-filter.cmake