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 git@github.com:<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