|Message: Re: Building 4.9.5 with pre-downloaded data files||Not Logged In (login)|
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
On Tue, 13 Mar 2012 11:38:34 GMT, Michael wrote: > I've searched through this section and can't find an answer for this > one. > > I'm new to cmake (I was quite happy with ./Configure -build and don't > like change...!). > > Is there a flag in the cmake command to use data files I've already > downloaded instead of the script automatically going ahead and > downloading them? > > I have networks at my workplace that are not online and need to be able > to install the extra libraries offline?
There's no flag at present in the CMake build that allows an existing set of data libraries to be used - it's on the list of features to add though. You therefore need to set things up by hand, but note that you don't need to do this to build Geant4. The setup of the data libraries by the CMake system is purely a convenience feature, and the data is only needed when you run a Geant4 application.
The only setup that is needed post-build is to point Geant4 at the data libraries via the environment variables documented in a Note in the Installation Guide. It's probably easiest to code these all in a shell script you can source.
|Inline Depth:||Outline Depth:||Add message:|