Problem 1205

Summary: Make the installation of examples an optional item
Product: Geant4 Reporter: Ben Morgan <Ben.Morgan>
Component: cmakeAssignee: Ben Morgan <Ben.Morgan>
Status: CLOSED FIXED    
Severity: enhancement    
Priority: P5    
Version: 9.4   
Hardware: All   
OS: All   

Description Ben Morgan 2011-04-21 17:42:12 CEST
The Geant4 examples are quite large, so the installation of these should be an optional component or target.
Comment 1 Ben Morgan 2011-05-17 18:53:23 CEST
Fixed in SVN : Revision #49891. log

BUGFIX : Bug #1205 : Examples are only installed if GEANT4_INSTALL_EXAMPLES option is set.

An option GEANT4_INSTALL_EXAMPLES is provided with a default of OFF. If this 
option is set to ON, then the examples will be installed as done previously.

I have also added the COMPONENT flag in the example install command with value 
'Examples' so that component based binary packages will also be able to make 
the install of the examples optional.