Using cmake [message #4504] |
Fri, 15 June 2007 15:07 |
Ralf Kliemt
Messages: 507 Registered: May 2007 Location: GSI, Darmstadt
|
first-grade participant |
From: 141.30.85*
|
|
Here is a short note for you how to use the cmake:
A New build:
You starting point are the complete external packages and the source of pandaroot. It should look like this:
...fairroot/cbmsoft> ls
cern configure.sh generators pandaroot SetEnv.sh tools transport
Now set the SIMPATH variabele, like:
cbmsoft/export SIMPATH=$PWD
Make an empty build directory. (name it as you want to)
cbmsoft>mkdir cbuild
cbmsoft>cd cbuild
Generate the makefiles. (this replaces the reconf and configure from the automake-based way)
cbmsoft/cbuild>cmake ../pandaroot
Load the local enviroment.
cbmsoft/cbuild>. config.sh
Begin compiling:
cbmsoft/cbuild>make install
Notes:
To run your macros on this build you have to load the cbuild/config.sh
[Edit: Mohammeds suggestion on the simpath added.]
[Updated on: Mon, 16 July 2007 13:02] Report message to a moderator
|
|
|