Geant4 Cross Reference |
1 # - G4RayTracer category build << 1 #------------------------------------------------------------------------------ 2 include(sources.cmake) << 2 # CMakeLists.txt 3 geant4_add_category(G4RayTracer MODULES G4RayT << 3 # Module : G4RayTracer >> 4 # Package: Geant4.src.G4visualization.G4RayTracer >> 5 # >> 6 # CMakeLists.txt for single level library that may be build global or granular >> 7 # >> 8 # Generated on : 24/9/2010 >> 9 # >> 10 # $Id: CMakeLists.txt,v 1.1 2010-09-29 19:12:38 bmorgan Exp $ >> 11 # >> 12 #------------------------------------------------------------------------------ >> 13 >> 14 # Add allocation export symbol for the RayTracer module >> 15 # NB: we don't add this at the category level because RayTracer is >> 16 # the only vis driver that uses exports at the moment. We can move the >> 17 # add_definitions higher later if needed. >> 18 add_definitions(-DG4VIS_ALLOC_EXPORT) >> 19 >> 20 >> 21 include(Geant4MacroLibraryTargets) >> 22 if(GEANT4_BUILD_GRANULAR_LIBS) >> 23 GEANT4_GRANULAR_LIBRARY_TARGET(COMPONENT sources.cmake) >> 24 else() >> 25 GEANT4_GLOBAL_LIBRARY_TARGET(COMPONENTS sources.cmake) >> 26 endif() >> 27