cancel
Showing results for 
Search instead for 
Did you mean: 

How to stop STMCubeMX updating the cmake file

hans86
Associate

Hi All,

I use VSCode+STM32 plug-in and it works great, however, one problem I have is that every time I run STMCube32mx it updates the cmake file (CMakeLists.txt). There is no /*USER CODE */ section in this file so I have to constantly fix the CMakeLists.txt file with my additions.

I checked STM32CubeMX project manager settings and there is no option to not generate a build file and there are no options to add your settings.

Any idea?

Thanks,
Hans.

0 REPLIES 0