CMakeLists.txt 2.67 KB
Newer Older
hrchilds's avatar
hrchilds committed
1
# DO NOT EDIT THIS FILE! THIS FILE IS AUTOMATICALLY GENERATED BY xml2cmake
2
PROJECT(PICS_Tester_database)
hrchilds's avatar
hrchilds committed
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48

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

SET(COMMON_SOURCES
PICS_TesterPluginInfo.C
PICS_TesterCommonPluginInfo.C
)

SET(LIBI_SOURCES 
PICS_TesterPluginInfo.C
)

SET(LIBM_SOURCES
PICS_TesterMDServerPluginInfo.C
${COMMON_SOURCES}
avtPICS_TesterFileFormat.C
)

SET(LIBE_SOURCES
PICS_TesterEnginePluginInfo.C
${COMMON_SOURCES}
avtPICS_TesterFileFormat.C
)

INCLUDE_DIRECTORIES(
${CMAKE_CURRENT_SOURCE_DIR}
${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
49 50 51
${EAVL_INCLUDE_DIR}
${VTKM_INCLUDE_DIR}
${VTK_INCLUDE_DIRS}
hrchilds's avatar
hrchilds committed
52 53
)

54
LINK_DIRECTORIES(${VISIT_LIBRARY_DIR} ${EAVL_LIBRARY_DIR} ${VTKM_LIBRARY_DIR} ${VTK_LIBRARY_DIRS} )
hrchilds's avatar
hrchilds committed
55 56 57 58 59 60

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

IF(NOT VISIT_ENGINE_ONLY AND NOT VISIT_DBIO_ONLY)
61
    ADD_LIBRARY(MPICS_TesterDatabase ${LIBM_SOURCES})
hrchilds's avatar
hrchilds committed
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82
    TARGET_LINK_LIBRARIES(MPICS_TesterDatabase visitcommon avtdbatts avtdatabase_ser )
    ADD_TARGET_DEFINITIONS(MPICS_TesterDatabase MDSERVER)
    SET(INSTALLTARGETS ${INSTALLTARGETS} MPICS_TesterDatabase)
ENDIF(NOT VISIT_ENGINE_ONLY AND NOT VISIT_DBIO_ONLY)

ADD_LIBRARY(EPICS_TesterDatabase_ser ${LIBE_SOURCES})
TARGET_LINK_LIBRARIES(EPICS_TesterDatabase_ser visitcommon avtdatabase_ser avtpipeline_ser )
ADD_TARGET_DEFINITIONS(EPICS_TesterDatabase_ser ENGINE)
SET(INSTALLTARGETS ${INSTALLTARGETS} EPICS_TesterDatabase_ser)

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

VISIT_INSTALL_DATABASE_PLUGINS(${INSTALLTARGETS})
VISIT_PLUGIN_TARGET_RTOD(databases ${INSTALLTARGETS})
VISIT_PLUGIN_TARGET_FOLDER(databases PICS_Tester ${INSTALLTARGETS})