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 # >> 15 #------------------------------------------------------------------------------ 2 16 >> 17 # List external includes needed. >> 18 include_directories(${CLHEP_INCLUDE_DIRS}) >> 19 >> 20 # List internal includes needed. >> 21 include_directories(${CMAKE_SOURCE_DIR}/source/geometry/management/include) >> 22 include_directories(${CMAKE_SOURCE_DIR}/source/geometry/navigation/include) >> 23 include_directories(${CMAKE_SOURCE_DIR}/source/geometry/volumes/include) >> 24 include_directories(${CMAKE_SOURCE_DIR}/source/geometry/magneticfield/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/processes/scoring/include) >> 33 include_directories(${CMAKE_SOURCE_DIR}/source/digits_hits/hits/include) >> 34 include_directories(${CMAKE_SOURCE_DIR}/source/digits_hits/detector/include) >> 35 include_directories(${CMAKE_SOURCE_DIR}/source/track/include) >> 36 >> 37 # 3 # Define the Geant4 Module. 38 # Define the Geant4 Module. 4 geant4_add_module(G4optical << 39 # 5 PUBLIC_HEADERS << 40 include(Geant4MacroDefineModule) 6 G4OpAbsorption.hh << 41 GEANT4_DEFINE_MODULE(NAME G4optical 7 G4OpBoundaryProcess.hh << 42 HEADERS 8 G4OpMieHG.hh << 43 G4OpAbsorption.hh 9 G4OpProcessSubType.hh << 44 G4OpBoundaryProcess.hh 10 G4OpRayleigh.hh << 45 G4OpMieHG.hh 11 G4OpWLS.hh << 46 G4OpProcessSubType.hh 12 G4OpWLS2.hh << 47 G4OpRayleigh.hh 13 G4VWLSTimeGeneratorProfile.hh << 48 G4OpWLS.hh 14 G4WLSTimeGeneratorProfileDelta.hh << 49 G4VWLSTimeGeneratorProfile.hh 15 G4WLSTimeGeneratorProfileExponential.hh << 50 G4WLSTimeGeneratorProfileDelta.hh 16 SOURCES << 51 G4WLSTimeGeneratorProfileExponential.hh 17 G4OpAbsorption.cc << 52 SOURCES 18 G4OpBoundaryProcess.cc << 53 G4OpAbsorption.cc 19 G4OpMieHG.cc << 54 G4OpBoundaryProcess.cc 20 G4OpRayleigh.cc << 55 G4OpMieHG.cc 21 G4OpWLS.cc << 56 G4OpRayleigh.cc 22 G4OpWLS2.cc << 57 G4OpWLS.cc 23 G4VWLSTimeGeneratorProfile.cc << 58 G4VWLSTimeGeneratorProfile.cc 24 G4WLSTimeGeneratorProfileDelta.cc << 59 G4WLSTimeGeneratorProfileDelta.cc 25 G4WLSTimeGeneratorProfileExponential.cc) << 60 G4WLSTimeGeneratorProfileExponential.cc >> 61 GRANULAR_DEPENDENCIES >> 62 G4bosons >> 63 G4geometrymng >> 64 G4globman >> 65 G4materials >> 66 G4navigation >> 67 G4partman >> 68 G4procman >> 69 G4track >> 70 G4volumes >> 71 GLOBAL_DEPENDENCIES >> 72 G4geometry >> 73 G4global >> 74 G4materials >> 75 G4particles >> 76 G4track >> 77 LINK_LIBRARIES >> 78 ) >> 79 >> 80 # List any source specific properties here 26 81 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) <<