Lines Matching full:native_simulator

8 # This native_simulator library is used to pass options to the
9 # native_simulator runner build. Currently the following are used:
12 # For ex. target_compile_options(native_simulator INTERFACE "-m64")
16 # For ex. target_link_options(native_simulator INTERFACE "-lstdc++")
19 # For ex. target_sources(native_simulator INTERFACE silly.c)
24 # For ex. set_property(TARGET native_simulator APPEND PROPERTY RUNNER_LINK_LIBRARIES "mylib.a")
29 # For ex. set_property(TARGET native_simulator APPEND PROPERTY LOCALIZE_EXTRA_OPTIONS "--local…
32 # information. This means we cannot directly pass it to the native_simulator runner build.
36 add_library(native_simulator INTERFACE) target
37 set_property(TARGET native_simulator PROPERTY RUNNER_LINK_LIBRARIES "")
38 set_property(TARGET native_simulator PROPERTY LOCALIZE_EXTRA_OPTIONS "")
40 set(NSI_DIR ${ZEPHYR_BASE}/scripts/native_simulator CACHE PATH "Path to the native simulator")
51 target_link_options(native_simulator INTERFACE "-m64")
52 target_compile_options(native_simulator INTERFACE "-m64")
57 target_link_options(native_simulator INTERFACE "-m32")
58 target_compile_options(native_simulator INTERFACE "-m32")
66 target_compile_options(native_simulator INTERFACE "$<TARGET_PROPERTY:compiler,fpsse2>")
119 … target_compile_options(native_simulator INTERFACE $<TARGET_PROPERTY:compiler,warnings_as_errors>)
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")
172 target_compile_options(native_simulator INTERFACE "-fsanitize-recover=all")
177 target_compile_options(native_simulator INTERFACE "-DNSI_NO_MAIN=1")
194 target_link_options(native_simulator INTERFACE ${LLVM_SANITIZERS_ARG})
195 target_compile_options(native_simulator INTERFACE ${LLVM_SANITIZERS_ARG})