Skip to content

Developer Installation

Cam Mannett edited this page Apr 25, 2023 · 1 revision

To get a pre-release arg_router, or build the unit tests and examples, simply check out the repo and build via CMake in the usual way - the unit tests will be built by default:

$ cd arg_router
$ mkdir build
$ cd ./build
$ cmake ..
$ cmake --build .
$ cmake --install .

Building these targets will require more dependencies:

  • clang-format
  • Python v3 (used for copyright checking)
  • Doxygen
  • Boost.Test v1.74+
  • Boost.Filesystem v1.74+
  • Boost.Process v1.74+

By default all these dependencies are provided by vcpkg automatically, please note that vcpkg is provided via a submodule and therefore will need initialising (git submodule update). If you would rather the dependencies came from the system then simply set -DDISABLE_VCPKG=OFF, and CMake will not bootstrap vcpkg and therefore try to find the packages locally.

Clone this wiki locally