Import Geant4 10.0.0 source tree
This commit is contained in:
@@ -33,7 +33,7 @@ $Id: README,v 1.16 2010-11-29 10:34:36 gcosmo Exp $
|
||||
% cd path_to_exampleXYZ # go to directory which contains your example
|
||||
% mkdir exampleXYZ_build
|
||||
% cd exampleXYZ_build
|
||||
% cmake -DGeant4_DIR=path_to_Geant4_installation/lib[64]/Geant4-9.6.0/ ../exampleXYZ
|
||||
% cmake -DGeant4_DIR=path_to_Geant4_installation/lib[64]/Geant4-10.0.0/ ../exampleXYZ
|
||||
% make -j N exampleXYZ # "N" is the number of processes
|
||||
% make install # this step is optional
|
||||
|
||||
@@ -42,7 +42,7 @@ $Id: README,v 1.16 2010-11-29 10:34:36 gcosmo Exp $
|
||||
To use GNUmake build system when Geant4 was installed with CMake, you have to source first
|
||||
the setup script in order to define needed environment variables:
|
||||
|
||||
% source path_to_Geant4_installation/share/Geant4-9.6.0/geant4make/geant4make.[c]sh
|
||||
% source path_to_Geant4_installation/share/Geant4-10.0.0/geant4make/geant4make.[c]sh
|
||||
|
||||
Then to build example
|
||||
|
||||
@@ -88,13 +88,13 @@ $Id: README,v 1.16 2010-11-29 10:34:36 gcosmo Exp $
|
||||
% cd $HOME
|
||||
% mkdir TestEm1_build
|
||||
% cd TestEm1_build
|
||||
% cmake -DGeant4_DIR=/usr/local/lib64/Geant4-9.6.0/ ../TestEm1
|
||||
% cmake -DGeant4_DIR=/usr/local/lib64/Geant4-10.0.0/ ../TestEm1
|
||||
% make -j 2 TestEm1
|
||||
|
||||
1b) With GNUmake
|
||||
|
||||
% cd $HOME/TestEm1
|
||||
% source /usr/local/share/Geant4-9.6.0/geant4make/geant4make.sh
|
||||
% source /usr/local/share/Geant4-10.0.0/geant4make/geant4make.sh
|
||||
% make
|
||||
|
||||
2) EXECUTE TESTEM1 IN 'BATCH' MODE FROM MACRO FILES
|
||||
|
||||
Reference in New Issue
Block a user