I used STM32CubeMX to create cmake project for STM32F411CEUx. In the cmake\stm32cubemx directory there is a CMakeLists.txt file which defines a library called "stm32cubemx". This library contains all the code. Why STM32CubeMX uses such approach to pr...