Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the 'documentation' target to CMakeLists. Update README and INSTA…
…LL files Former-commit-id: 61aa2e16df9b9f8d12942a0ba02688cb0c75cdac
- Loading branch information
Showing
4 changed files
with
134 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
Basic installation | ||
------------------ | ||
|
||
1. Install the required libraries and tools. | ||
Refer to the 'Requirements' section of this document for details. | ||
You can find ready commands for some systems in the | ||
'Requirements installation' section. | ||
|
||
2. Create a directory where the built programs will be placed, e.g. | ||
in the main directory: | ||
|
||
mkdir build | ||
cd build | ||
|
||
3. 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 .. | ||
|
||
4. To compile the J-PET framework library do: | ||
|
||
make | ||
|
||
5. Once the compilation is finished, there should be a file | ||
'libJPetFramework.so' in the build directory. | ||
|
||
Code documentation | ||
------------------ | ||
|
||
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. | ||
|
||
Requirements | ||
------------ | ||
|
||
1. ROOT (http://root.cern.ch) with properly paths | ||
The recommended version of ROOT is 5.34. Note that this framework is not yet compatible with ROOT versions >= 6.00. | ||
|
||
2. gcc | ||
|
||
3. Doxygen (www.doxygen.org) only if you want to generate | ||
the code documentation | ||
|
||
4. BOOST packages | ||
|
||
5. libpqxx (connection between framework and database) [1] | ||
|
||
6. libconfig++ [2] | ||
|
||
7. cmake [3] | ||
|
||
Tested Platforms | ||
---------------- | ||
|
||
1. Ubuntu x86_64 GNU/Linux | ||
gcc 4.6.3 | ||
ROOT v5.32 | ||
|
||
2. Ubuntu 12.04.1 LTS 2013 i386 GNU/Linux | ||
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 | ||
ROOT v5.34/18 | ||
|
||
3. Debian GNU/Linux Sid | ||
gcc-4.9.real (Debian 4.9.2-10) 4.9.2 | ||
5.34/26 | ||
|
||
4. Fedora 20 | ||
|
||
Annotation | ||
---------------- | ||
|
||
[1] | ||
Official website: | ||
https://pqxx.org/development/libpqxx/ | ||
Documentation: | ||
http://pqxx.org/devprojects/libpqxx/doc/4.0/html/Reference/a00001.html | ||
Other packages related to libpqxx: | ||
http://packages.ubuntu.com/lucid/libpqxx-dev | ||
|
||
[2] | ||
Official website: | ||
http://www.hyperrealm.com/libconfig/ | ||
Documentation: | ||
http://www.hyperrealm.com/libconfig/libconfig_manual.html | ||
|
||
[3] | ||
Official website: | ||
https://cmake.org/ | ||
Documentation: | ||
https://cmake.org/documentation | ||
|
||
Requirements installation | ||
---------------- | ||
|
||
For Ubuntu: | ||
|
||
sudo apt-get install libboost-all-dev libpqxx-3.1 libpqxx3-dev libconfig++ cmake | ||
|
||
For Fedora 20: | ||
sudo yum install boost-devel libpqxx libpqxx-devel libconfig libconfig-devel cmake |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters