Is it planned to generate CMake project?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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.
- Labels:
-
STM32CubeMX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-10-11 6: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-01-11 7:00 AM
+1
It will be extremely useful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-01-11 7:37 AM
+1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-09-03 5:18 AM
There is a vote now: https://community.st.com/s/ideazone#0873W000000KylvQAC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-09-03 8:24 AM
Thx.
Voted.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-01-24 7: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,:)
