This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Minimum CMakeLists.txt file to use with ARMClang v6 with CLion

I would like to use ARMClang 6 series toolchain (compiler and linker) to build and compile or debug for STM32F103RB board Evaluation board.
I want to use CLion instead of Keil IDE for compiling/flashing and debugging the EVAL board.

Currently CLion has a plugin that supports for arm-gcc but nothing for ARMClang yet.

Since the build backbone of the CLion is CMake which is a way different from Keil build system all my efforts to create a successful build system in Cmake has failed.

I want to replicate following flags in CMake (Both for Release and Debug) setting if  possible with .hex file as an output too

Any help with creating CMakeLists.txt file is really appreciated.

0