native_simulator_sb_extensions
Sysbuild extension commands for Native simulator - native_sim based targets.
These commands are used by the sysbuild.cmake file of a board or application that builds
several images into a single native simulator executable. They are no-ops unless the board target
is a native simulator or bsim based one.
- native_simulator_set_final_executable(<final_image>)
Add a build target which copies the executable produced by
<final_image>to the top level, aszephyr/zephyr.exe.<final_image>is expected to have been set to assemble other dependent images into itself if necessary, by callingnative_simulator_set_child_images().This allows other tools, like twister or the bsim test scripts, as well as users, to find this final executable in the same place as for non-sysbuild builds.