mutation++ uses CMake as build toolchain. In particular, starting from
version 0.3.0, CMake exports a mutation++Config.cmake file together with
the specific configuration files for the build type (e.g. Release, Debug)
etc... that allows you to easily include the library into your own code if you
also use CMake (ref: find_package(mutation++ CONFIG)). Our examples,
that you can find in the examples directory, can be built independently from
mutation++. You can take inspiration from the CMakeLists.txt that you find
in each example directory in order to require and use mutation++ in your
code.
Mutationpp/examples/c++/CMakeLists.txt.shared
Lines 1 to 20 in 1d34aec
So, assuming that you (or your sysadmin) installed mutation++ in a directory
that is also in the install prefix where CMake looks for *.cmake files
(ref: CMAKE_PREFIX_PATH), you basically just need to
find_package(mutation++) and then link your target against mutation++
target:
target_link_libraries(<my-target>
[PRIVATE|PUBLIC|INTERFACE]
mutation++::mutation++
)