This repository have some .cmake
files for build embedded projects, it use armcc
or arm-none-eabi
toolchain.
You can reference this repository: https://github.com/github0null/cmake_embedded_project_template
Open your project root folder, run the following command to add these .cmake
files.
git clone https://github.com/github0null/cmake_embedded_project_rules.git cmake
Or if you use git
to manage your project source, you can run the following command to add these .cmake
files.
git submodule add https://github.com/github0null/cmake_embedded_project_rules.git cmake