Reuse Distance Library
A simple library for calculating the reuse distances of subsequent memory requests.
This project uses CMake.
CMake can configure the project for different build systems and IDEs (type
cmake --help for a list of generators available for your platform).
We recommend you create a build directory before invoking CMake to configure the project (
For example, we can perform the configuration step from the project root directory:
cmake -H. -Bcmake-build-release -DCMAKE_BUILD_TYPE=Release cmake -H. -Bcmake-build-debug -DCMAKE_BUILD_TYPE=Debug
After the configuration step, you can ask CMake to build the project.
cmake --build cmake-build-release/ --target all cmake --build cmake-build-debug/ --target all
You can install the library by using the
install target, for example:
cmake --build cmake-build-release/ --target install
If you would like to change the default installation directory, you must do so in the configure step:
cmake -H. -Bcmake-build-release -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="/path/to/install/dir"
If your project also uses cmake, you can find the CMake package configuration files at