CMakeLists.txt 4.99 KB
Newer Older
1
# DO NOT EDIT THIS FILE! THIS FILE IS AUTOMATICALLY GENERATED BY xml2cmake
2
PROJECT(IndexSelect_operator)
3

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

6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
SET(COMMON_SOURCES
IndexSelectPluginInfo.C
IndexSelectCommonPluginInfo.C
IndexSelectAttributes.C
)

SET(LIBI_SOURCES 
IndexSelectPluginInfo.C
)

SET(LIBG_SOURCES
IndexSelectGUIPluginInfo.C
QvisIndexSelectWindow.C
${COMMON_SOURCES}
)
SET(LIBG_MOC_SOURCES
QvisIndexSelectWindow.h
)

SET(LIBV_SOURCES
26
IndexSelectViewerEnginePluginInfo.C
27 28 29 30 31
IndexSelectViewerPluginInfo.C
${COMMON_SOURCES}
)

SET(LIBE_SOURCES
32
IndexSelectViewerEnginePluginInfo.C
33 34 35 36 37
IndexSelectEnginePluginInfo.C
avtIndexSelectFilter.C
${COMMON_SOURCES}
)

38 39 40 41 42

IF(VISIT_PYTHON_SCRIPTING)
    SET(PYINCLUDES ${PYTHON_INCLUDE_PATH} ${VISIT_INCLUDE_DIR}/visitpy/visitpy)
ENDIF(VISIT_PYTHON_SCRIPTING)

43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
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/Expressions/Abstract
${VISIT_INCLUDE_DIR}/avt/Expressions/CMFE
${VISIT_INCLUDE_DIR}/avt/Expressions/Conditional
${VISIT_INCLUDE_DIR}/avt/Expressions/Derivations
${VISIT_INCLUDE_DIR}/avt/Expressions/General
${VISIT_INCLUDE_DIR}/avt/Expressions/ImageProcessing
${VISIT_INCLUDE_DIR}/avt/Expressions/Management
${VISIT_INCLUDE_DIR}/avt/Expressions/Math
${VISIT_INCLUDE_DIR}/avt/Expressions/MeshQuality
58
${VISIT_INCLUDE_DIR}/avt/Expressions/TimeIterators
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
${VISIT_INCLUDE_DIR}/avt/FileWriter
${VISIT_INCLUDE_DIR}/avt/Filters
${VISIT_INCLUDE_DIR}/avt/IVP
${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/Plotter
${VISIT_INCLUDE_DIR}/avt/QtVisWindow
${VISIT_INCLUDE_DIR}/avt/View
${VISIT_INCLUDE_DIR}/avt/VisWindow/Colleagues
${VISIT_INCLUDE_DIR}/avt/VisWindow/Interactors
${VISIT_INCLUDE_DIR}/avt/VisWindow/Proxies
${VISIT_INCLUDE_DIR}/avt/VisWindow/Tools
${VISIT_INCLUDE_DIR}/avt/VisWindow/VisWindow
${VISIT_INCLUDE_DIR}/gui
${VISIT_INCLUDE_DIR}/mdserver/proxy
${VISIT_INCLUDE_DIR}/mdserver/rpc
79
${VISIT_INCLUDE_DIR}/viewer/core
80
${VISIT_INCLUDE_DIR}/viewer/main
81
${VISIT_INCLUDE_DIR}/viewer/main/ui
82 83 84 85 86 87 88 89
${VISIT_INCLUDE_DIR}/viewer/proxy
${VISIT_INCLUDE_DIR}/viewer/rpc
${VISIT_INCLUDE_DIR}/winutil
${VISIT_INCLUDE_DIR}/visit_vtk/full
${VISIT_INCLUDE_DIR}/visit_vtk/lightweight
${QT_INCLUDE_DIR}
${QT_QTCORE_INCLUDE_DIR}
${QT_QTGUI_INCLUDE_DIR}
90 91 92
${EAVL_INCLUDE_DIR}
${VTKM_INCLUDE_DIR}
${VTK_INCLUDE_DIRS}
93
${PYINCLUDES}
94 95
)

allens's avatar
allens committed
96
LINK_DIRECTORIES(${VISIT_LIBRARY_DIR} ${QT_LIBRARY_DIR} ${QWT_LIBRARY_DIR} ${GLEW_LIBRARY_DIR} ${EAVL_LIBRARY_DIR} ${VTKM_LIBRARY_DIR} ${VTK_LIBRARY_DIRS} )
97 98 99 100 101 102

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

IF(NOT VISIT_SERVER_COMPONENTS_ONLY AND NOT VISIT_ENGINE_ONLY AND NOT VISIT_DBIO_ONLY)
103
    QT_WRAP_CPP(GIndexSelectOperator LIBG_SOURCES ${LIBG_MOC_SOURCES})
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122
    ADD_LIBRARY(GIndexSelectOperator ${LIBG_SOURCES})
    TARGET_LINK_LIBRARIES(GIndexSelectOperator visitcommon gui )

    ADD_LIBRARY(VIndexSelectOperator ${LIBV_SOURCES})
    TARGET_LINK_LIBRARIES(VIndexSelectOperator visitcommon viewer )
    SET(INSTALLTARGETS ${INSTALLTARGETS} GIndexSelectOperator VIndexSelectOperator)

    IF(VISIT_PYTHON_SCRIPTING)
        SET(LIBS_SOURCES
            IndexSelectScriptingPluginInfo.C
            PyIndexSelectAttributes.C
            ${COMMON_SOURCES}
        )
        ADD_LIBRARY(SIndexSelectOperator ${LIBS_SOURCES})
        TARGET_LINK_LIBRARIES(SIndexSelectOperator visitcommon visitpy ${PYTHON_LIBRARY})
        SET(INSTALLTARGETS ${INSTALLTARGETS} SIndexSelectOperator)
    ENDIF(VISIT_PYTHON_SCRIPTING)

    IF(VISIT_JAVA)
123 124 125 126
        FILE(COPY IndexSelectAttributes.java DESTINATION ${JavaClient_BINARY_DIR}/src/operators)
        ADD_CUSTOM_TARGET(JavaIndexSelect ALL ${Java_JAVAC_EXECUTABLE} ${VISIT_Java_FLAGS} -d ${JavaClient_BINARY_DIR} -classpath ${JavaClient_BINARY_DIR} -sourcepath ${JavaClient_BINARY_DIR} IndexSelectAttributes.java
            DEPENDS JavaClient
            WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
127 128 129 130 131 132 133 134 135 136 137 138 139 140
    ENDIF(VISIT_JAVA)
ENDIF(NOT VISIT_SERVER_COMPONENTS_ONLY AND NOT VISIT_ENGINE_ONLY AND NOT VISIT_DBIO_ONLY)

ADD_LIBRARY(EIndexSelectOperator_ser ${LIBE_SOURCES})
TARGET_LINK_LIBRARIES(EIndexSelectOperator_ser visitcommon avtexpressions_ser avtfilters_ser avtpipeline_ser )
SET(INSTALLTARGETS ${INSTALLTARGETS} EIndexSelectOperator_ser)

IF(VISIT_PARALLEL)
    ADD_PARALLEL_LIBRARY(EIndexSelectOperator_par ${LIBE_SOURCES})
    TARGET_LINK_LIBRARIES(EIndexSelectOperator_par visitcommon avtexpressions_par avtfilters_par avtpipeline_par )
    SET(INSTALLTARGETS ${INSTALLTARGETS} EIndexSelectOperator_par)
ENDIF(VISIT_PARALLEL)

VISIT_INSTALL_OPERATOR_PLUGINS(${INSTALLTARGETS})
141
VISIT_PLUGIN_TARGET_RTOD(operators ${INSTALLTARGETS})
142
VISIT_PLUGIN_TARGET_FOLDER(operators IndexSelect ${INSTALLTARGETS})
143