Skip to content

HarrisDePerceptron/CPP-Conan-Template

Repository files navigation

CPP Conan Template

Index.png

Getting Started

build and run

./scripts/run.sh
# or
./scripts/run.sh --debug
# or 
./scripts/run.sh --release

build only

./scripts/build.sh
./scripts/build.sh --debug 
./scripts/build.sh --release

Adding dependencies

To add a dependency, First add it to cmake/Dependencies.cmake. Make sure to add the appropriate find_package() and set the variable under PROJECR_LIBS so that it is available to the binary and tests

Secondly, to include and install the actual dependencies, include them in the conanfile.txt. to add additional dependencies you may visit the Conan Center

Testing

This templates uses catch2 and ctest as the runner

To run tests

./scripts/run-test.sh

Docker

docker build -t <your tag>
docker run -it <your tag>

About

A template for getting started with cpp and conan as package manager

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published