You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey,
Currently, Zephyr uses CMake under the hood to do the actual building. However, the user has to call West and other Zephyr tools like Twister manually.
CMake has introduced Cmake Presets a couple of years ago to specify toolchain, compiler and other stuff.
Cmake Presets have a very good IDE support and work out of the box in most IDEs.
Would it be possible to call West/Twister from CMake (for example with [execute_process]https://cmake.org/cmake/help/latest/command/execute_process.htmll)
(i.e. reverse the process, instead of west calling cmake, cmake will invoke west and generate all necessary files)
An even better solution would be to integrate west/twister directly in cmake. Qt uses a Meta Compiler as well, they have integrated their MOC directly in Cmake (CMAKE_AUTOMOC
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey,
Currently, Zephyr uses CMake under the hood to do the actual building. However, the user has to call West and other Zephyr tools like Twister manually.
CMake has introduced Cmake Presets a couple of years ago to specify toolchain, compiler and other stuff.
Cmake Presets have a very good IDE support and work out of the box in most IDEs.
Would it be possible to call West/Twister from CMake (for example with [execute_process]https://cmake.org/cmake/help/latest/command/execute_process.htmll)
(i.e. reverse the process, instead of west calling cmake, cmake will invoke west and generate all necessary files)
An even better solution would be to integrate west/twister directly in cmake. Qt uses a Meta Compiler as well, they have integrated their MOC directly in Cmake (CMAKE_AUTOMOC
:)
Beta Was this translation helpful? Give feedback.
All reactions