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