Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For each package the SConscript file must be modified slightly to invoke the tool registerTargets rather than registerObjects. This has now been done for all packages in ScienceTools New, converted SConscript files have been committed and the packages are all tagged.   If you start with source from a recent ST LATEST build you don't have to worry about this.  Details of the differences are described below for the curious. Others should skip to the section GoGui Hints below.

Technical details

Wiki Markup
registerTargets has a different interface. First of all, registerTargets makes finer distinctions between target types.  swig libraries are a category of their own, as are ROOT-using static libraries and ROOT-using shared libraries. For each category of library or executable target (e.g. static library, swig library, test app, etc.) instead of passing just a list of targets you pass in a list of pairs \[_target_, _environment_\] where _environment_ is the environment used to create the target somewhere earlier in the SConscript file. Here is an example of the changes needed for the facilities package:

...