In this article, you will learn how to build a CMake project for STM32 and download the software to the MCU with CLion, JetBrains’ IDE for C & C++.
In episode 1, we got a BSP along with the CMakeLists.txt:

Finally, we built the software from the command line.
To be honest, in my everyday life, I don’t use the command line. I use instead CLion because it is much more comfortable… Let’s try it!