2019-10-10 12:10 PM
Hi,
are there plans on offering a generator for plain CMake projects?
Currently the only way that works is to use CLion to convert the project to CMake but it would be nice if CubeMX supported CMake directly.
2019-10-11 06:56 AM
Hello @fsch ,
There's no plan for CubeMX to support CMake . But I will share your request with the team to be internally analysed.
Best Regards,
Khouloud.
2020-01-11 07:00 AM
+1
It will be extremely useful.
2020-01-11 07:37 AM
+1
2020-09-03 05:18 AM
There is a vote now: https://community.st.com/s/ideazone#0873W000000KylvQAC
2020-09-03 08:24 AM
Thx.
Voted.
2023-01-24 07:52 AM
I wrote a simple CMake script to automatically generate libraries from CubeMX projects:
https://github.com/jmacheta/cubemx-cmake
It uses CubeMX CLI functionality to generate Makefile project, then parses Makefile to get relevant information(i.e. sources, include directories, defines and linker script) to create CMake OBJECT library.
Based on that, it should be easy to generate CMake package. Let me know if anyone needs such functionality,:)