-
Install the required libraries and tools.
Refer to theRequirements
section of this document for details.
You can find ready commands for some systems in theRequirements installation
section. -
Create a directory where the built programs will be placed, e.g. in the main directory:
mkdir build
cd build
-
Before calling cmake, make sure that correct paths to JPetFramework are set with:
source path/to/framework/bin/thisframework.sh
-
Invoke the CMake build tool and provide the path to the main directory If you created the build directory in the main one and entered
build
as in step 2. then do:
cmake ..
-
To compile the J-PET Framework Library do:
make
-
Once the compilation is finished, there should be a file
libJPetFramework.so
in the build directory.
NOTE: Full install procedure with tips and troubleshootung can be found on PetWiki
To generate the code documentation of the J-PET Framework library, the Doxygen software must be installed. To generate the documentation just go to the j-pet-framework build directory and do:
make documentation
and the documentation will be generated and put in folders named latex and html inside the build directory.
Optional, if you want to generate documentation: Doxygen