CMake Build System
Jump to navigation
Jump to search
Miosix 3 introduces a new build system, based on CMake. The CMake build system has the same capabilities of the old Miosix Makefiles, and in addition it allows better composability of Miosix with other external projects.
How to build Miosix with CMake
Building Miosix with CMake follows the standard workflow that you expect from any other CMake project. Change directory to the root of the Miosix application you want to build and execute the following commands:
mkdir build cd build cmake .. make
These commands assume your CMake configuration uses Unix Makefiles as the default generator.