Rev | Line | |
---|
[1350] | 1 | #------------------------------------------------------------------------------ |
---|
| 2 | # CMakeLists.txt |
---|
| 3 | # Module : G4persistency |
---|
| 4 | # Package: Geant4.src.G4persistency |
---|
| 5 | # |
---|
| 6 | # Top level CMakeLists.txt for a Geant4 Global Library |
---|
| 7 | # or collection of sublibraries |
---|
| 8 | # |
---|
| 9 | # Generated on : 24/9/2010 |
---|
| 10 | # |
---|
| 11 | # $Id: CMakeLists.txt,v 1.1 2010/09/29 18:49:49 bmorgan Exp $ |
---|
| 12 | # |
---|
| 13 | #------------------------------------------------------------------------------ |
---|
| 14 | |
---|
| 15 | add_subdirectory(ascii) |
---|
| 16 | |
---|
| 17 | # GDML only if required |
---|
| 18 | if(GEANT4_USE_GDML) |
---|
| 19 | add_subdirectory(gdml) |
---|
| 20 | endif() |
---|
| 21 | |
---|
| 22 | add_subdirectory(mctruth) |
---|
| 23 | |
---|
| 24 | |
---|
| 25 | if(NOT GEANT4_BUILD_GRANULAR_LIBS) |
---|
| 26 | include(Geant4MacroLibraryTargets) |
---|
| 27 | if(GEANT4_USE_GDML) |
---|
| 28 | GEANT4_GLOBAL_LIBRARY_TARGET(NAME G4persistency |
---|
| 29 | COMPONENTS |
---|
| 30 | ascii/sources.cmake |
---|
| 31 | gdml/sources.cmake |
---|
| 32 | mctruth/sources.cmake |
---|
| 33 | ) |
---|
| 34 | else() |
---|
| 35 | GEANT4_GLOBAL_LIBRARY_TARGET(NAME G4persistency |
---|
| 36 | COMPONENTS |
---|
| 37 | ascii/sources.cmake |
---|
| 38 | mctruth/sources.cmake |
---|
| 39 | ) |
---|
| 40 | endif() |
---|
| 41 | endif() |
---|
| 42 | |
---|
Note: See
TracBrowser
for help on using the repository browser.