Geant4 Cross Reference |
1 # - G4optical module build definition << 1 #------------------------------------------------------------------------------ >> 2 # sources.cmake >> 3 # Module : G4optical >> 4 # Package: Geant4.src.G4processes.G4optical >> 5 # >> 6 # Sources description for a library. >> 7 # Lists the sources and headers of the code explicitely. >> 8 # Lists include paths needed. >> 9 # Lists the internal granular and global dependencies of the library. >> 10 # Source specific properties should be added at the end. >> 11 # >> 12 # Generated on : 24/9/2010 >> 13 # >> 14 # $Id: sources.cmake,v 1.2 2010-10-26 09:33:11 gcosmo Exp $ >> 15 # >> 16 #------------------------------------------------------------------------------ 2 17 >> 18 # List external includes needed. >> 19 include_directories(${CLHEP_INCLUDE_DIRS}) >> 20 >> 21 # List internal includes needed. >> 22 include_directories(${CMAKE_SOURCE_DIR}/source/geometry/management/include) >> 23 include_directories(${CMAKE_SOURCE_DIR}/source/geometry/navigation/include) >> 24 include_directories(${CMAKE_SOURCE_DIR}/source/geometry/volumes/include) >> 25 include_directories(${CMAKE_SOURCE_DIR}/source/global/HEPGeometry/include) >> 26 include_directories(${CMAKE_SOURCE_DIR}/source/global/HEPRandom/include) >> 27 include_directories(${CMAKE_SOURCE_DIR}/source/global/management/include) >> 28 include_directories(${CMAKE_SOURCE_DIR}/source/materials/include) >> 29 include_directories(${CMAKE_SOURCE_DIR}/source/particles/bosons/include) >> 30 include_directories(${CMAKE_SOURCE_DIR}/source/particles/management/include) >> 31 include_directories(${CMAKE_SOURCE_DIR}/source/processes/management/include) >> 32 include_directories(${CMAKE_SOURCE_DIR}/source/track/include) >> 33 >> 34 # 3 # Define the Geant4 Module. 35 # Define the Geant4 Module. 4 geant4_add_module(G4optical << 36 # 5 PUBLIC_HEADERS << 37 include(Geant4MacroDefineModule) 6 G4OpAbsorption.hh << 38 GEANT4_DEFINE_MODULE(NAME G4optical 7 G4OpBoundaryProcess.hh << 39 HEADERS 8 G4OpMieHG.hh << 40 G4OpAbsorption.hh 9 G4OpProcessSubType.hh << 41 G4OpBoundaryProcess.hh 10 G4OpRayleigh.hh << 42 G4OpMieHG.hh 11 G4OpWLS.hh << 43 G4OpProcessSubType.hh 12 G4OpWLS2.hh << 44 G4OpRayleigh.hh 13 G4VWLSTimeGeneratorProfile.hh << 45 G4OpWLS.hh 14 G4WLSTimeGeneratorProfileDelta.hh << 46 G4VWLSTimeGeneratorProfile.hh 15 G4WLSTimeGeneratorProfileExponential.hh << 47 G4WLSTimeGeneratorProfileDelta.hh 16 SOURCES << 48 G4WLSTimeGeneratorProfileExponential.hh 17 G4OpAbsorption.cc << 49 SOURCES 18 G4OpBoundaryProcess.cc << 50 G4OpAbsorption.cc 19 G4OpMieHG.cc << 51 G4OpBoundaryProcess.cc 20 G4OpRayleigh.cc << 52 G4OpMieHG.cc 21 G4OpWLS.cc << 53 G4OpRayleigh.cc 22 G4OpWLS2.cc << 54 G4OpWLS.cc 23 G4VWLSTimeGeneratorProfile.cc << 55 G4VWLSTimeGeneratorProfile.cc 24 G4WLSTimeGeneratorProfileDelta.cc << 56 G4WLSTimeGeneratorProfileDelta.cc 25 G4WLSTimeGeneratorProfileExponential.cc) << 57 G4WLSTimeGeneratorProfileExponential.cc >> 58 GRANULAR_DEPENDENCIES >> 59 G4bosons >> 60 G4geometrymng >> 61 G4globman >> 62 G4materials >> 63 G4navigation >> 64 G4partman >> 65 G4procman >> 66 G4track >> 67 G4volumes >> 68 GLOBAL_DEPENDENCIES >> 69 G4geometry >> 70 G4global >> 71 G4materials >> 72 G4particles >> 73 G4track >> 74 LINK_LIBRARIES >> 75 ) >> 76 >> 77 # List any source specific properties here 26 78 27 geant4_module_link_libraries(G4optical << 28 PUBLIC << 29 G4bosons << 30 G4globman << 31 G4heprandom << 32 G4materials << 33 G4procman << 34 PRIVATE << 35 G4detector << 36 G4emutils << 37 G4navigation << 38 G4scoring << 39 G4volumes) <<