GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » Cmake end with an error message.
Re: Cmake end with an error message. [message #5537 is a reply to message #5529] Fri, 30 November 2007 09:07 Go to previous messageGo to previous message
Florian Uhlig is currently offline  Florian Uhlig
Messages: 424
Registered: May 2007
first-grade participant
From: *gsi.de
Hi Andrey

That you already come up with a solution for the UNIQUE macro
saves me a lot of work. Thanks for that.

Your second suggestion is not needed.

The SET commando

SET (PATH ${ROOTSYS}/bin ${PATH})

adds ${ROOTSYS}/bin to the already existing $PATH. The PATH is not the environment variable which seperates the entries with a ":", but an internal list in cmake

The commando

UNIQUE(PATH "${PATH1}")

takes this list and returns a list where all entries are unique.
This list is then given to the command

CONVERT_LIST_TO_STRING(${PATH})

which converts the list to a string and returns this string in the variable ${output}.

Ciao

Florian
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: simulation does not work with G4 for ROOT files with geometry
Next Topic: Bug in Drc
Goto Forum:
  


Current Time: Fri Mar 29 06:16:13 CET 2024

Total time taken to generate the page: 0.01122 seconds