Using "BUILD_IN_SOURCE" false for CM4/CM7
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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
Labels:
- Labels:
-
STM32CubeMX
-
STM32H7 Series
0 REPLIES 0
