Closed phaethon closed 5 years ago
Last time when I tried that makefile it did not work well at least on Windows. CLion 2018 is going to support makefiles, I will check out how it works at some point.
I am using the CubeMX generated Makefile on Linux and MacOS. Works fine for me. At present, I am manually converting it to cmake to use with CLion. Give me a notice if you want a working sample.
There is also custom target way: https://stackoverflow.com/questions/26918459/using-local-makefile-for-clion-instead-of-cmake
Well, the feature request looks more like "Support multiple build files generated from templates"
This is not going to be implemented in open-source plugin. If the issue is still valid, please create a feature request at JetBrains YouTrack system. Please do not forget to provide an example.
Expected Behavior
Latest CubeMX versions allow to select Makefile as a toolchain for code generation. Output is cleaner than SW4STM32 for the purposes of CLion import. Basically, only CMakeLists.txt has to be created. Initial project import should work with Makefile output of CubeMX.
Actual Behavior
Plugin does not create the CMakeLists.txt when importing Makefile code export from CLion.
Steps to Reproduce the Problem
Specifications