I would like to use native CMake rather than West to take advantage of CMake Presets.
I have been able to make this work on the command line using the following command:
cmake $ZEPHYR_BASE/share/sysbuild \ -Bbuild_test -GNinja -DBOARD=nrf54l15dk/nrf54l15/cpuapp \ -DAPP_DIR=. \ -DSB_CONF_FILE=sysbuild.conf \ && ninja -Cbuild_test
However, not every tool accepts the command "cmake $ZEPHYR_BASE/share/sysbuild ..."
Is there another way to force CMake to use sysbuild using, perhaps, a "-D" argument I can add?
The Zephyr example has this, but adding "share/sysbuild" does not work for me.
https://docs.zephyrproject.org/latest/build/sysbuild/index.html#sysbuild
https://docs.zephyrproject.org/latest/build/sysbuild/index.html#sysbuild
cmake -Bbuild -GNinja -DBOARD=reel_board -DAPP_DIR=samples/hello_world share/sysbuild