GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » Using cmake
Using cmake [message #4504] Fri, 15 June 2007 15:07 Go to previous message
Ralf Kliemt is currently offline  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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon14.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: More than one working copy
Next Topic: Discussion Coding rules, Quality Assurance and Control
Goto Forum:
  


Current Time: Thu Nov 28 19:48:53 CET 2024

Total time taken to generate the page: 0.00937 seconds