-
Clone repo created from template
-
Enter repo directory
-
Run script:
./scripts/init_template.sh <LIBRARY_NAME>
Build tests:
# template is for header-only library by default
cmake -S . -B_build
cmake --build _build
Run tests:
cd _build && ctest
# or
cmake --build _build --target hello_test
./_build/hello_test