X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=README_CMake;h=18a1c6b5c8cf9209c542e95a7cc7ee73ba44694d;hb=e059d7d88e184ff9aa0d3626776776a58bd17212;hp=450e2098065a4bc40f8dcb2056029928c57d4f94;hpb=aecc2ba098b540430d359e3e5d9f39e5a07ad034;p=u%2Fmrichter%2FAliRoot.git diff --git a/README_CMake b/README_CMake index 450e2098065..18a1c6b5c8c 100644 --- a/README_CMake +++ b/README_CMake @@ -37,14 +37,24 @@ is a temporary situation that will change soon. 6a.Run cmake -DCMAKE_BUILD_TYPE=DEBUG $ALICE_ROOT - - to compile AliRoot in Debug configuration (-g compiler flags). - To change the configuration later on you can either edit - cache variable CMAKE_BUILD_TYPE using 'ccmake' command ('None' value for default configuration), - or setup default configuration by running - cmake $ALICE_ROOT + to compile AliRoot in Debug configuration (-g compiler flags). + + To change the configuration later on you can either + edit cache variable CMAKE_BUILD_TYPE using 'ccmake' command ('None' value for default configuration), + + or setup default configuration (-O -g flags are setting up) by running + cmake $ALICE_ROOT + + 6b. To compile AliRoot in Release mode (-03 flag) run + cmake -DCMAKE_BUILD_TYPE=Release $ALICE_ROOT + + 6c. Command + cmake -DCMAKE_BUILD_TYPE=RelRelWithDebInfo $ALICE_ROOT + allows to compile AliRoot with -g -O2 options. + +Please note! The default values for these flags change with different compilers. +If CMake does not know your compiler, the contents will be empty. - 6b. By default -O -g options are setting up. 7. Build and install AliRoot. Note that the parralel build is fully operational with CMake.