We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69c1980 commit 9d74454Copy full SHA for 9d74454
tests/bsim/compile.source
@@ -21,6 +21,7 @@ function _compile(){
21
local conf_file="${conf_file:-prj.conf}"
22
local extra_conf_file="${extra_conf_file:-""}"
23
local conf_overlay="${conf_overlay:-""}"
24
+ local snippet="${snippet:-""}"
25
26
default_cmake_args=(-DCONFIG_COVERAGE=y -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
27
-DCONFIG_COMPILER_WARNINGS_AS_ERRORS=y -DCONFIG_ASSERT=y)
@@ -60,6 +61,7 @@ function _compile(){
60
61
orifs="$IFS"; IFS=
62
local cmake_cmd+=( -DOVERLAY_CONFIG="${conf_overlay}" \
63
-DEXTRA_CONF_FILE="${extra_conf_file}" \
64
+ -DSNIPPET="${snippet}" \
65
${modules_arg} \
66
"${cmake_args[@]}" ${cc_flags:+-DCMAKE_C_FLAGS=${cc_flags}} "${cmake_extra_args[@]}")
67
if [ -v sysbuild ]; then
0 commit comments