[1350] | 1 | #------------------------------------------------------------------------------ |
---|
| 2 | # sources.cmake |
---|
| 3 | # Module : G4VRML |
---|
| 4 | # Package: Geant4.src.G4visualization.G4VRML |
---|
| 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/11/23 20:40:23 bmorgan Exp $ |
---|
| 15 | # |
---|
| 16 | #------------------------------------------------------------------------------ |
---|
| 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/digits_hits/hits/include) |
---|
| 23 | include_directories(${CMAKE_SOURCE_DIR}/source/geometry/management/include) |
---|
| 24 | include_directories(${CMAKE_SOURCE_DIR}/source/geometry/solids/CSG/include) |
---|
| 25 | include_directories(${CMAKE_SOURCE_DIR}/source/geometry/solids/specific/include) |
---|
| 26 | include_directories(${CMAKE_SOURCE_DIR}/source/global/HEPGeometry/include) |
---|
| 27 | include_directories(${CMAKE_SOURCE_DIR}/source/global/management/include) |
---|
| 28 | include_directories(${CMAKE_SOURCE_DIR}/source/graphics_reps/include) |
---|
| 29 | include_directories(${CMAKE_SOURCE_DIR}/source/intercoms/include) |
---|
| 30 | include_directories(${CMAKE_SOURCE_DIR}/source/visualization/management/include) |
---|
| 31 | include_directories(${CMAKE_SOURCE_DIR}/source/visualization/modeling/include) |
---|
| 32 | |
---|
| 33 | |
---|
| 34 | # |
---|
| 35 | # Module has optional sources |
---|
| 36 | # |
---|
| 37 | include(Geant4MacroDefineModule) |
---|
| 38 | |
---|
| 39 | # List those always built |
---|
| 40 | set(G4VIS_VRML_MODULE_HEADERS |
---|
| 41 | G4VRML1File.hh |
---|
| 42 | G4VRML1FileSceneHandler.hh |
---|
| 43 | G4VRML1FileViewer.hh |
---|
| 44 | G4VRML2File.hh |
---|
| 45 | G4VRML2FileSceneHandler.hh |
---|
| 46 | G4VRML2FileViewer.hh) |
---|
| 47 | |
---|
| 48 | set(G4VIS_VRML_MODULE_SOURCES |
---|
| 49 | G4VRML1File.cc |
---|
| 50 | G4VRML1FileSceneHandler.cc |
---|
| 51 | G4VRML1FileViewer.cc |
---|
| 52 | G4VRML1SceneHandlerFunc.icc |
---|
| 53 | G4VRML2File.cc |
---|
| 54 | G4VRML2FileSceneHandler.cc |
---|
| 55 | G4VRML2FileViewer.cc |
---|
| 56 | G4VRML2SceneHandlerFunc.icc) |
---|
| 57 | |
---|
| 58 | # |
---|
| 59 | # VRML Network drivers only if user selected |
---|
| 60 | # |
---|
| 61 | if(GEANT4_USE_NETWORKVRML) |
---|
| 62 | list(APPEND G4VIS_VRML_MODULE_HEADERS |
---|
| 63 | FRClient.h |
---|
| 64 | G4FRClient.hh |
---|
| 65 | G4VRML1.hh |
---|
| 66 | G4VRML1SceneHandler.hh |
---|
| 67 | G4VRML1Viewer.hh |
---|
| 68 | G4VRML2.hh |
---|
| 69 | G4VRML2SceneHandler.hh |
---|
| 70 | G4VRML2Viewer.hh |
---|
| 71 | G4VRMLNetConfig.hh) |
---|
| 72 | |
---|
| 73 | list(APPEND G4VIS_VRML_MODULE_SOURCES |
---|
| 74 | FRClient.cc |
---|
| 75 | G4FRClient.cc |
---|
| 76 | G4VRML1.cc |
---|
| 77 | G4VRML1SceneHandler.cc |
---|
| 78 | G4VRML1Viewer.cc |
---|
| 79 | G4VRML2.cc |
---|
| 80 | G4VRML2SceneHandler.cc |
---|
| 81 | G4VRML2Viewer.cc) |
---|
| 82 | |
---|
| 83 | # |
---|
| 84 | # Add extra needed defs here |
---|
| 85 | # |
---|
| 86 | GEANT4_ADD_COMPILE_DEFINITIONS(SOURCES ${G4VIS_VRML_MODULE_SOURCES} |
---|
| 87 | COMPILE_DEFINITIONS G4VIS_BUILD_VRML_DRIVER) |
---|
| 88 | endif() |
---|
| 89 | |
---|
| 90 | |
---|
| 91 | # |
---|
| 92 | # Define the Geant4 Module. |
---|
| 93 | # |
---|
| 94 | GEANT4_DEFINE_MODULE(NAME G4VRML |
---|
| 95 | HEADERS |
---|
| 96 | ${G4VIS_VRML_MODULE_HEADERS} |
---|
| 97 | SOURCES |
---|
| 98 | ${G4VIS_VRML_MODULE_SOURCES} |
---|
| 99 | GRANULAR_DEPENDENCIES |
---|
| 100 | G4csg |
---|
| 101 | G4geometrymng |
---|
| 102 | G4globman |
---|
| 103 | G4graphics_reps |
---|
| 104 | G4hits |
---|
| 105 | G4intercoms |
---|
| 106 | G4modeling |
---|
| 107 | G4specsolids |
---|
| 108 | G4vis_management |
---|
| 109 | GLOBAL_DEPENDENCIES |
---|
| 110 | G4digits_hits |
---|
| 111 | G4geometry |
---|
| 112 | G4global |
---|
| 113 | G4graphics_reps |
---|
| 114 | G4intercoms |
---|
| 115 | G4modeling |
---|
| 116 | G4vis_management |
---|
| 117 | LINK_LIBRARIES |
---|
| 118 | ) |
---|
| 119 | |
---|
| 120 | # List any source specific properties here |
---|
| 121 | |
---|