2025-06-10 1:26 AM
Hi all,
We would like to set BUILD_IN_SOURCE to false when building the two cores on the stm32h747 along with passing some other cmake options, but I don't see anywhere to change settings like that in CubeMX. Right now, we are just editing mx-generated.cmake by hand to set those options and to add more to each ExternalProject call after CMAKE_ARGS and restoring the file every time CubeMX overwrites it.
How do we pass -DOPTIONs to each ExternalProject? How would we set BUILD_IN_SOURCE (and why is it defaulted to true?) ?
Thank you