GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » user rights for svn and software release tools
Re: user rights for svn and software release tools [message #7734 is a reply to message #7733] Fri, 23 January 2009 08:52 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 Bertram

I don't know how the "babarians" organized their build process, but if i understand it correctely for each directory the developer had to provide several *.mk files. In the end someone had to use some tools to validate if these files are consistent.

Quote:


...
+) Link Dependency Related commands:
analyze-linkfiles [Validate link_XXX.mk against package sources]
check-link-order [Validate link_XXX.mk against link_all_reco.mk]
depend-circle [Check package for circular dependencies]
depend-tree [Generate formatted link dependency tree]
make-linkfiles [construct link_XXX.mk file, bin_XXX.mk files]

...

The most important command here is "make-linkfiles" which automatically creates the relevant dependency files. That means that the necessary dependency files will be created by just typing this command. So my question was if similar things are available in the PandaRoot environment.
In addition the makefiles are standardized so that one can in principle - apart from some exceptions- use exactly the same
makefile in each directory.



With CMake everything you need is one file per subdirectory (CMakeLists.txt) where the source/(header) files the include directories and the link directories are defined. Everything else is done automatically. CMake generates takes care of the dependencies, creates the link commands and many things more. In the end CMake generates a complete set of Makefile (or IDE input files if you use KDevelop, Eclipse ...) which are then used to generate the project.
In this sense i don't have to validate my input. If there is somewhere a problem i will get an error message. If there are problems to understand the CMakeLists.txt file we can provide an empty one where the user only has to fill the required information.

Hope this helps.

Ciao

Florian
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Logo for PandaRoot
Next Topic: How to treat real detector data?
Goto Forum:
  


Current Time: Sat Apr 20 12:28:45 CEST 2024

Total time taken to generate the page: 0.00958 seconds