]> git.uio.no Git - u/mrichter/AliRoot.git/blame - README_CMake
New method to compute mean from data + fit function
[u/mrichter/AliRoot.git] / README_CMake
CommitLineData
529dfa42 1Steps to Build AliRoot with CMake :
dfa85384 2
529dfa42 31. Define environment variable ALICE_INSTALL
4 export ALICE_INSTALL=$ALICE/AliRootInstall
5
62. Set Path to point to binaries and libraries that will be built in ALICE_INSTALL
7 export PATH=$PATH:$ALICE_INSTALL/bin/tgt_${ALICE_TARGET}
8 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ALICE_INSTALL/lib/tgt_${ALICE_TARGET}
9
103. Execute the following commands to build AliRoot
11 cd $ALICE_INSTALL
12 cmake <path_to_source>
13 make
14
154. In order to build addtional targets like TFluka, THydjet and SHUTTLE add the following options to the cmake command
16 cmake -DTFLUKA=ON -DTHYDJET=ON -DSHUTTLE=ON <path_to_source>
17
18!IMPORTANT! : Make sure you delete all the files in your ALICE_INSTALL directory before you generate the Makefile again to clear the CMakeCache or the generated build system may not function properly.
19
dfa85384 20