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

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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
SET(COMMON_SOURCES
DecimatePluginInfo.C
DecimateCommonPluginInfo.C
DecimateAttributes.C
)

SET(LIBI_SOURCES 
DecimatePluginInfo.C
)

SET(LIBG_SOURCES
DecimateGUIPluginInfo.C
QvisDecimateWindow.C
${COMMON_SOURCES}
)
SET(LIBG_MOC_SOURCES
QvisDecimateWindow.h
)
QT_WRAP_CPP(GDecimateOperator LIBG_SOURCES ${LIBG_MOC_SOURCES})

SET(LIBV_SOURCES
DecimateViewerPluginInfo.C
${COMMON_SOURCES}
)

SET(LIBE_SOURCES
DecimateEnginePluginInfo.C
avtDecimateFilter.C
${COMMON_SOURCES}
)

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
${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
${VISIT_INCLUDE_DIR}/viewer/main
${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}
${VTK_INCLUDE_DIRS} 
${PYTHON_INCLUDE_PATH} 
${VISIT_INCLUDE_DIR}/visitpy/visitpy 
)


87
LINK_DIRECTORIES(${VISIT_LIBRARY_DIR} ${QT_LIBRARY_DIR} ${GLEW_LIBRARY_DIR} ${VTK_LIBRARY_DIRS} )
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128

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

IF(NOT VISIT_SERVER_COMPONENTS_ONLY AND NOT VISIT_ENGINE_ONLY AND NOT VISIT_DBIO_ONLY)
    ADD_LIBRARY(GDecimateOperator ${LIBG_SOURCES})
    TARGET_LINK_LIBRARIES(GDecimateOperator visitcommon gui )

    ADD_LIBRARY(VDecimateOperator ${LIBV_SOURCES})
    TARGET_LINK_LIBRARIES(VDecimateOperator visitcommon viewer )
    SET(INSTALLTARGETS ${INSTALLTARGETS} GDecimateOperator VDecimateOperator)

    IF(VISIT_PYTHON_SCRIPTING)
        SET(LIBS_SOURCES
            DecimateScriptingPluginInfo.C
            PyDecimateAttributes.C
            ${COMMON_SOURCES}
        )
        ADD_LIBRARY(SDecimateOperator ${LIBS_SOURCES})
        TARGET_LINK_LIBRARIES(SDecimateOperator visitcommon visitpy ${PYTHON_LIBRARY})
        SET(INSTALLTARGETS ${INSTALLTARGETS} SDecimateOperator)
    ENDIF(VISIT_PYTHON_SCRIPTING)

    IF(VISIT_JAVA)
        ADD_CUSTOM_TARGET(JavaDecimate ALL ${CMAKE_Java_COMPILER} ${CMAKE_Java_FLAGS} -d ${VISIT_BINARY_DIR}/java -classpath ${VISIT_BINARY_DIR}/java DecimateAttributes.java)
        ADD_DEPENDENCIES(JavaDecimate JavaClient)
    ENDIF(VISIT_JAVA)
ENDIF(NOT VISIT_SERVER_COMPONENTS_ONLY AND NOT VISIT_ENGINE_ONLY AND NOT VISIT_DBIO_ONLY)

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

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

VISIT_INSTALL_OPERATOR_PLUGINS(${INSTALLTARGETS})
129
VISIT_PLUGIN_TARGET_PREFIX(${INSTALLTARGETS})
130
VISIT_PLUGIN_TARGET_FOLDER(operators ${INSTALLTARGETS})
131