Lines Matching +full:get +full:- +full:coverage +full:- +full:files

1 # SPDX-License-Identifier: Apache-2.0
11 # Extra compile options to be used during the build of the runner files
12 # For ex. target_compile_options(native_simulator INTERFACE "-m64")
16 # For ex. target_link_options(native_simulator INTERFACE "-lstdc++")
29 …roperty(TARGET native_simulator APPEND PROPERTY LOCALIZE_EXTRA_OPTIONS "--localize-symbol=spinel*")
47 # some gcc versions fail to build without -fPIC
48 zephyr_compile_options(-m64 -fPIC)
49 zephyr_link_libraries(-m64)
51 target_link_options(native_simulator INTERFACE "-m64")
52 target_compile_options(native_simulator INTERFACE "-m64")
54 zephyr_compile_options(-m32)
55 zephyr_link_libraries(-m32)
57 target_link_options(native_simulator INTERFACE "-m32")
58 target_compile_options(native_simulator INTERFACE "-m32")
64 check_set_compiler_property(APPEND PROPERTY fpsse2 "SHELL:-msse2 -mfpmath=sse")
76 -include ${ZEPHYR_BASE}/arch/posix/include/posix_cheats.h
78 # About this -include directive: The reason to do it this way, is because in this
80 # be included in all the applications' files which define main( ), and in any
84 -fvisibility=hidden
90 -Wl,--unresolved-symbols=ignore-all
94 # Get the *compiler* include path, that is where the *compiler* provided headers are (not the
97 # /usr/lib/gcc/x86_64-linux-gnu/12/include or /usr/lib/llvm-14/lib/clang/14.0.0/include
99 COMMAND ${CMAKE_C_COMPILER} --print-file-name=include/stddef.h
110 -nostdinc
111 -isystem ${COMPILER_OWN_INCLUDE_PATH}
112 "SHELL:-include ${ZEPHYR_BASE}/arch/posix/include/undef_system_defines.h"
129 target_link_options(native_simulator INTERFACE "-lstdc++")
135 target_compile_options(native_simulator INTERFACE $<TARGET_PROPERTY:compiler,coverage>)
136 target_link_options(native_simulator INTERFACE $<TARGET_PROPERTY:linker,coverage>)
143 target_link_options(native_simulator INTERFACE "-pg")
148 -ldl
149 -pthread
171 zephyr_compile_options(-fsanitize-recover=all)
172 target_compile_options(native_simulator INTERFACE "-fsanitize-recover=all")
177 target_compile_options(native_simulator INTERFACE "-DNSI_NO_MAIN=1")
182 zephyr_compile_options(-fPIC)
188 set(LLVM_SANITIZERS_ARG "-fsanitize=${LLVM_SANITIZERS_ARG}")