X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=blobdiff_plain;f=README_CMake;h=f9930b6d0b22312613f44fd4e9377f496d4ec0d1;hp=df5457d20ef19bdf0c5b7f515b18e49051856554;hb=9cfdd3fd0c3c5d6a6a675778f2866da4192556c2;hpb=11f822d12d888cb50bd90168875885970a09a31a diff --git a/README_CMake b/README_CMake index df5457d20ef..f9930b6d0b2 100644 --- a/README_CMake +++ b/README_CMake @@ -31,8 +31,30 @@ It you do not specify it, "make install" will put lib, bin and include in ALICE_ cmake $ALICE_ROOT + Note: Some files CMakeLists.txt will be created in the source tree, so you need write access there. This 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 (-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. + 7. Build and install AliRoot. Note that the parralel build is fully operational with CMake. @@ -90,5 +112,3 @@ eg. make STEERbase STEERbase-static make test--par-all !IMPORTANT! - Make sure your source folder is clean. If you used the old make system to build aliroot run make clean in the source directory before you run cmake - -