Geant4 Cross Reference |
1 # - G4global category build(s) << 1 #------------------------------------------------------------------------------ 2 add_definitions(-DG4GLOB_ALLOC_EXPORT) << 2 # CMakeLists.txt >> 3 # Module : G4global >> 4 # Package: Geant4.src.G4global >> 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:43:41 bmorgan Exp $ >> 12 # >> 13 #------------------------------------------------------------------------------ 3 14 4 include(HEPGeometry/sources.cmake) << 15 add_subdirectory(HEPGeometry) 5 include(HEPNumerics/sources.cmake) << 16 add_subdirectory(HEPNumerics) 6 include(HEPRandom/sources.cmake) << 17 add_subdirectory(HEPRandom) 7 include(management/sources.cmake) << 18 add_subdirectory(management) >> 19 >> 20 if(NOT GEANT4_BUILD_GRANULAR_LIBS) >> 21 include(Geant4MacroLibraryTargets) >> 22 GEANT4_GLOBAL_LIBRARY_TARGET(NAME G4global >> 23 COMPONENTS >> 24 HEPGeometry/sources.cmake >> 25 HEPNumerics/sources.cmake >> 26 HEPRandom/sources.cmake >> 27 management/sources.cmake >> 28 ) >> 29 endif() 8 30 9 geant4_add_category(G4global MODULES << 10 G4hepgeometry << 11 G4hepnumerics << 12 G4heprandom << 13 G4globman ) <<