CMakeLists.txt 3.23 KB
Newer Older
hrchilds's avatar
hrchilds committed
1
# DO NOT EDIT THIS FILE! THIS FILE IS AUTOMATICALLY GENERATED BY xml2cmake
2
PROJECT(Vs_database)
hrchilds's avatar
hrchilds committed
3

4 5
INCLUDE(${VISIT_SOURCE_DIR}/CMake/PluginMacros.cmake)

hrchilds's avatar
hrchilds committed
6 7 8 9 10 11 12 13 14 15 16 17 18
SET(COMMON_SOURCES
VsPluginInfo.C
VsCommonPluginInfo.C
)

SET(LIBI_SOURCES 
VsPluginInfo.C
)

SET(LIBM_SOURCES
VsMDServerPluginInfo.C
${COMMON_SOURCES}
avtVsFileFormat.C
19
avtVsOptions.C
hrchilds's avatar
hrchilds committed
20
VsFilter.C
21 22 23 24 25
VsLog.C
VsMDMesh.C
VsMDVariable.C
VsMesh.C
VsRectilinearMesh.C
hrchilds's avatar
hrchilds committed
26
VsSchema.C
27 28 29
VsStructuredMesh.C
VsUniformMesh.C
VsUnstructuredMesh.C
hrchilds's avatar
hrchilds committed
30
VsUtils.C
31 32 33 34
VsVariable.C
VsVariableWithMesh.C
VsRegistry.C
VsRegistryObject.C
apletzer's avatar
apletzer committed
35 36 37 38 39 40 41
VsGroup.C
VsObject.C
VsDataset.C
VsAttribute.C
VsFile.C
VsReader.C
VsStaggeredField.C
42
HighOrderUnstructuredData.C
hrchilds's avatar
hrchilds committed
43 44 45 46 47 48
)

SET(LIBE_SOURCES
VsEnginePluginInfo.C
${COMMON_SOURCES}
avtVsFileFormat.C
49
avtVsOptions.C
hrchilds's avatar
hrchilds committed
50
VsFilter.C
51 52 53 54 55
VsLog.C
VsMDMesh.C
VsMDVariable.C
VsMesh.C
VsRectilinearMesh.C
hrchilds's avatar
hrchilds committed
56
VsSchema.C
57 58 59
VsStructuredMesh.C
VsUniformMesh.C
VsUnstructuredMesh.C
hrchilds's avatar
hrchilds committed
60
VsUtils.C
61 62 63 64
VsVariable.C
VsVariableWithMesh.C
VsRegistry.C
VsRegistryObject.C
apletzer's avatar
apletzer committed
65 66 67 68 69 70
VsGroup.C
VsObject.C
VsDataset.C
VsAttribute.C
VsFile.C
VsReader.C
71
HighOrderUnstructuredData.C
hrchilds's avatar
hrchilds committed
72 73 74 75
)

INCLUDE_DIRECTORIES(
${CMAKE_CURRENT_SOURCE_DIR}
76
${HDF5_INCLUDE_DIR}
hrchilds's avatar
hrchilds committed
77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96
${VISIT_COMMON_INCLUDES}
${VISIT_INCLUDE_DIR}/avt/DBAtts/MetaData
${VISIT_INCLUDE_DIR}/avt/DBAtts/SIL
${VISIT_INCLUDE_DIR}/avt/Database/Database
${VISIT_INCLUDE_DIR}/avt/Database/Formats
${VISIT_INCLUDE_DIR}/avt/Database/Ghost
${VISIT_INCLUDE_DIR}/avt/FileWriter
${VISIT_INCLUDE_DIR}/avt/Filters
${VISIT_INCLUDE_DIR}/avt/MIR/Base
${VISIT_INCLUDE_DIR}/avt/MIR/Tet
${VISIT_INCLUDE_DIR}/avt/MIR/Zoo
${VISIT_INCLUDE_DIR}/avt/Math
${VISIT_INCLUDE_DIR}/avt/Pipeline/AbstractFilters
${VISIT_INCLUDE_DIR}/avt/Pipeline/Data
${VISIT_INCLUDE_DIR}/avt/Pipeline/Pipeline
${VISIT_INCLUDE_DIR}/avt/Pipeline/Sinks
${VISIT_INCLUDE_DIR}/avt/Pipeline/Sources
${VISIT_INCLUDE_DIR}/avt/VisWindow/VisWindow
${VISIT_INCLUDE_DIR}/visit_vtk/full
${VISIT_INCLUDE_DIR}/visit_vtk/lightweight
97 98 99
${EAVL_INCLUDE_DIR}
${VTKM_INCLUDE_DIR}
${VTK_INCLUDE_DIRS}
hrchilds's avatar
hrchilds committed
100 101
)

102
LINK_DIRECTORIES(${VISIT_LIBRARY_DIR} ${EAVL_LIBRARY_DIR} ${VTKM_LIBRARY_DIR} ${VTK_LIBRARY_DIRS} ${HDF5_LIBRARY_DIR} )
hrchilds's avatar
hrchilds committed
103 104 105 106 107 108

ADD_LIBRARY(IVsDatabase ${LIBI_SOURCES})
TARGET_LINK_LIBRARIES(IVsDatabase visitcommon)
SET(INSTALLTARGETS IVsDatabase)

IF(NOT VISIT_ENGINE_ONLY AND NOT VISIT_DBIO_ONLY)
109
    ADD_LIBRARY(MVsDatabase ${LIBM_SOURCES})
hrchilds's avatar
hrchilds committed
110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127
    TARGET_LINK_LIBRARIES(MVsDatabase visitcommon avtdbatts avtdatabase_ser ${HDF5_LIB} ${ZLIB_LIB} )
    ADD_TARGET_DEFINITIONS(MVsDatabase MDSERVER)
    SET(INSTALLTARGETS ${INSTALLTARGETS} MVsDatabase)
ENDIF(NOT VISIT_ENGINE_ONLY AND NOT VISIT_DBIO_ONLY)

ADD_LIBRARY(EVsDatabase_ser ${LIBE_SOURCES})
TARGET_LINK_LIBRARIES(EVsDatabase_ser visitcommon avtdatabase_ser avtpipeline_ser ${HDF5_LIB} ${ZLIB_LIB} )
ADD_TARGET_DEFINITIONS(EVsDatabase_ser ENGINE)
SET(INSTALLTARGETS ${INSTALLTARGETS} EVsDatabase_ser)

IF(VISIT_PARALLEL)
    ADD_PARALLEL_LIBRARY(EVsDatabase_par ${LIBE_SOURCES})
    TARGET_LINK_LIBRARIES(EVsDatabase_par visitcommon avtdatabase_par avtpipeline_par ${HDF5_LIB} ${ZLIB_LIB} )
    ADD_TARGET_DEFINITIONS(EVsDatabase_par ENGINE)
    SET(INSTALLTARGETS ${INSTALLTARGETS} EVsDatabase_par)
ENDIF(VISIT_PARALLEL)

VISIT_INSTALL_DATABASE_PLUGINS(${INSTALLTARGETS})
128
VISIT_PLUGIN_TARGET_RTOD(databases ${INSTALLTARGETS})
129 130
VISIT_PLUGIN_TARGET_FOLDER(databases Vs ${INSTALLTARGETS})