Examples of Graph Traversals Using Boost
This project only depends on CMake and Boost. CMake can be downloaded from here.
There are many ways for installing Boost, but I prefer installation from source. These are the steps that I follow:
- Download the latest version from here and extract it contents.
- Navigate to extracted directory and run
./bootstrap.sh --prefix=./
for an in-source build. - Build and install Boost by running
./b2 install
.
From your build directory call:
cmake $PATH_TO_SOURCE_DIR -G $GENERATOR -DBOOST_ROOT=$PATH_TO_BOOST_DIR
, where:
PATH_TO_SOURCE_DIR
is the location where you cloned this repository.GENERATOR
is the build tool used for building this project.PATH_TO_BOOST_DIR
is where you installed Boost.