HepMC3 event record library
Building instructions

Cmake build system

HepMC3 is built using CMake and is fully compatible with c++11. Following options are available:

cmake -DCMAKE_INSTALL_PREFIX=<installation path> \
-DHEPMC3_BUILD_EXAMPLES=ON|OFF \
-DPYTHIA8_ROOT_DIR=<path_to_pythia8180_or_later> \
-DROOT_DIR=<path_to_root_bin_dir>
Note
Path to pythia8 is used for examples only
Path to ROOT is optional. If not provided, CMake will attempt to find default ROOT installation. If no installation is present, ROOT I/O will not be available. Please note that cmake configuretion file supplied with ROOT distribution (ROOTUseFile.cmake) might require higher version of cmake than HepMC3 itself.
cmake is set to detect c++11 support by default.

Last update 24 Jan 2019