This is a CMake framework for those who want to use GCC for command line compilation,especially for embedded field.The CMake framework building style is basically the current mainstream approach, such as Zephyr,esp-idf : only one project is built at a time (this framework supports multi-project compilation) and links with library + interface library + app library.Apart from this, use kconfig to modify some compile configurations.
- Single project compilation
- Single project compilation at the same time
- Support menuconfig
- Support compile project in everywhere
- Support x86、arm、risc-v GCC toolchain
- Support all platform :windows、linux、macOS
-
Execute
source env.sh
in sdk root path -
Compile two demos separately
cd examples/helloworld
make
cd examples/helloworld2
make
- Compile two demos at the same time
cd examples
make
Currently just let menuconfig work, the rest is some user's kconfig codes.
cd examples/helloworld
make menuconfig
cd examples/helloworld2
make menuconfig