This CMake library adds convenience functions to the build system.
- Add the fetch file to your repo:
wget https://github.com/intercreate/ic-cmake/releases/latest/download/fetch_ic.cmake
- Include and link in your CMakeLists.txt:
include(fetch_ic.cmake)
cmake -P tests/script.cmake
- Fork this repository: https://github.com/intercreate/ic-cmake/fork
- Clone your fork:
git clone [email protected]:<YOUR_FORK>/ic-cmake.git
- then change directory to your cloned fork:
cd ic-cmake
- then change directory to your cloned fork:
- Enable the githook:
git config core.hooksPath .githooks