2021-07-22 03:46 PM
I've inherited a project that contains 10 build configurations. In the STM32CubeIde properties windows I cannot find any differences between a couple of the configurations. There are so many settings in various windows, tabs, etc. Instead of selecting each property and then switching between configurations in the drop-down list to check the differences one-by-one, I was hoping to be able to export all settings to an .xls, .xml or .txt file so I can quickly compare the settings side-by side. Is there a way to do this? Thanks!
Solved! Go to Solution.
2021-07-22 06:23 PM
No easy way to do this that I know about.
They are stored in the .cproject file as an XML tree. You could copy each configuration to a new file and use a diff tool. It's a little clunky, but it will show you all the differences.
2021-07-22 05:25 PM
Perhaps do "headless" build of each configuration, capture logs to files and compare.
Look for differences in compiler settings and differences in files included or excluded in each configuration.
-- pa
2021-07-22 06:23 PM
No easy way to do this that I know about.
They are stored in the .cproject file as an XML tree. You could copy each configuration to a new file and use a diff tool. It's a little clunky, but it will show you all the differences.
2021-07-23 05:15 AM
Thank you both for responding.
Using Notepad++ I was able to easily find the "Build Configurations" I was looking for in the .cproject file, collapse each section by their <cconfiguration> tag so I could easily select and copy the entire section, and paste to an external file(s) for comparison. I quickly found the difference I was looking for!
Thank you!