cancel
Showing results for 
Search instead for 
Did you mean: 

Using "BUILD_IN_SOURCE" false for CM4/CM7

chipchop
Associate II

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

0 REPLIES 0