Commit 6d8571fb authored by Utkarsh Ayachit's avatar Utkarsh Ayachit

Change files to use location of file to locate resources.

ParaViewPlugins and ParaViewMacros now use t he location of cmake file to locate
resources rather than the ParaView_CMAKE_DIR.

Change-Id: I0a944e5f53573c0a2faa3447d42fb5319a14c415
parent bc881caa
# File defining miscellaneous macros # File defining miscellaneous macros
# Save the location of the ParaViewPlugins.cmake file. It makes it easier to
# load the required *.in files for the generated code.
set(_paraviewmacros_cmake_dir "${CMAKE_CURRENT_LIST_DIR}")
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# GENERATE_QT_RESOURCE_FROM_FILES can be used to generate a Qt resource file # GENERATE_QT_RESOURCE_FROM_FILES can be used to generate a Qt resource file
# from a given set of files. # from a given set of files.
...@@ -235,19 +239,19 @@ function (generate_htmls_from_xmls output_files xmls gui_xmls output_dir) ...@@ -235,19 +239,19 @@ function (generate_htmls_from_xmls output_files xmls gui_xmls output_dir)
# process each html file to sperate it out into files for each proxy. # process each html file to sperate it out into files for each proxy.
COMMAND ${CMAKE_COMMAND} COMMAND ${CMAKE_COMMAND}
-Dxmlpatterns:FILEPATH=${QT_XMLPATTERNS_EXECUTABLE} -Dxmlpatterns:FILEPATH=${QT_XMLPATTERNS_EXECUTABLE}
-Dxml_to_xml_xsl:FILEPATH=${ParaView_CMAKE_DIR}/smxml_to_xml.xsl -Dxml_to_xml_xsl:FILEPATH=${_paraviewmacros_cmake_dir}/smxml_to_xml.xsl
-Dxml_to_html_xsl:FILEPATH=${ParaView_CMAKE_DIR}/xml_to_html.xsl -Dxml_to_html_xsl:FILEPATH=${_paraviewmacros_cmake_dir}/xml_to_html.xsl
-Dxml_to_wiki_xsl:FILEPATH=${ParaView_CMAKE_DIR}/xml_to_wiki.xsl.in -Dxml_to_wiki_xsl:FILEPATH=${_paraviewmacros_cmake_dir}/xml_to_wiki.xsl.in
-Dinput_xmls:STRING=${xmls_string} -Dinput_xmls:STRING=${xmls_string}
-Dinput_gui_xmls:STRING=${gui_xmls_string} -Dinput_gui_xmls:STRING=${gui_xmls_string}
-Doutput_dir:PATH=${output_dir} -Doutput_dir:PATH=${output_dir}
-Doutput_file:FILEPATH=${CMAKE_CURRENT_BINARY_DIR}/${first_xml}.xml -Doutput_file:FILEPATH=${CMAKE_CURRENT_BINARY_DIR}/${first_xml}.xml
-P ${ParaView_CMAKE_DIR}/generate_proxydocumentation.cmake -P ${_paraviewmacros_cmake_dir}/generate_proxydocumentation.cmake
DEPENDS ${xmls} DEPENDS ${xmls}
${ParaView_CMAKE_DIR}/smxml_to_xml.xsl ${_paraviewmacros_cmake_dir}/smxml_to_xml.xsl
${ParaView_CMAKE_DIR}/xml_to_html.xsl ${_paraviewmacros_cmake_dir}/xml_to_html.xsl
${ParaView_CMAKE_DIR}/generate_proxydocumentation.cmake ${_paraviewmacros_cmake_dir}/generate_proxydocumentation.cmake
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}" WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
...@@ -348,7 +352,7 @@ function(build_help_project name) ...@@ -348,7 +352,7 @@ function(build_help_project name)
-Dnamespace:STRING="${arg_NAMESPACE}" -Dnamespace:STRING="${arg_NAMESPACE}"
-Dfolder:PATH=${arg_FOLDER} -Dfolder:PATH=${arg_FOLDER}
-Dname:STRING="${name}" -Dname:STRING="${name}"
-P "${ParaView_CMAKE_DIR}/generate_qhp.cmake" -P "${_paraviewmacros_cmake_dir}/generate_qhp.cmake"
) )
else () else ()
# toc is provided, we'll just configure the file. # toc is provided, we'll just configure the file.
...@@ -357,7 +361,7 @@ function(build_help_project name) ...@@ -357,7 +361,7 @@ function(build_help_project name)
set (files "${files}<file>${filename}</file>\n") set (files "${files}<file>${filename}</file>\n")
endforeach() endforeach()
configure_file(${ParaView_CMAKE_DIR}/build_help_project.qhp.in configure_file(${_paraviewmacros_cmake_dir}/build_help_project.qhp.in
${qhp_filename}) ${qhp_filename})
list (APPEND arg_DEPENDS ${qhp_filename}) list (APPEND arg_DEPENDS ${qhp_filename})
endif() endif()
...@@ -365,7 +369,7 @@ function(build_help_project name) ...@@ -365,7 +369,7 @@ function(build_help_project name)
ADD_CUSTOM_COMMAND( ADD_CUSTOM_COMMAND(
OUTPUT ${arg_DESTINATION_DIRECTORY}/${name}.qch OUTPUT ${arg_DESTINATION_DIRECTORY}/${name}.qch
DEPENDS ${arg_DEPENDS} DEPENDS ${arg_DEPENDS}
${ParaView_CMAKE_DIR}/generate_qhp.cmake ${_paraviewmacros_cmake_dir}/generate_qhp.cmake
${extra_args} ${extra_args}
......
# Save the location of the ParaViewPlugins.cmake file. It makes it easier to
# load the required *.in files for the generated code.
set(_paraviewplugins_cmake_dir "${CMAKE_CURRENT_LIST_DIR}")
# Requires ParaView_QT_DIR and ParaView_BINARY_DIR to be set. # Requires ParaView_QT_DIR and ParaView_BINARY_DIR to be set.
# Macro to install a plugin that's included in the ParaView source directory. # Macro to install a plugin that's included in the ParaView source directory.
...@@ -219,9 +223,9 @@ MACRO(ADD_PARAVIEW_OBJECT_PANEL OUTIFACES OUTSRCS) ...@@ -219,9 +223,9 @@ MACRO(ADD_PARAVIEW_OBJECT_PANEL OUTIFACES OUTSRCS)
SET(PANEL_XML_GROUP ${ARG_XML_GROUP}) SET(PANEL_XML_GROUP ${ARG_XML_GROUP})
SET(${OUTIFACES} ${PANEL_NAME}) SET(${OUTIFACES} ${PANEL_NAME})
CONFIGURE_FILE(${ParaView_CMAKE_DIR}/pqObjectPanelImplementation.h.in CONFIGURE_FILE(${_paraviewplugins_cmake_dir}/pqObjectPanelImplementation.h.in
${CMAKE_CURRENT_BINARY_DIR}/${PANEL_NAME}Implementation.h @ONLY) ${CMAKE_CURRENT_BINARY_DIR}/${PANEL_NAME}Implementation.h @ONLY)
CONFIGURE_FILE(${ParaView_CMAKE_DIR}/pqObjectPanelImplementation.cxx.in CONFIGURE_FILE(${_paraviewplugins_cmake_dir}/pqObjectPanelImplementation.cxx.in
${CMAKE_CURRENT_BINARY_DIR}/${PANEL_NAME}Implementation.cxx @ONLY) ${CMAKE_CURRENT_BINARY_DIR}/${PANEL_NAME}Implementation.cxx @ONLY)
SET(PANEL_MOC_SRCS) SET(PANEL_MOC_SRCS)
...@@ -251,9 +255,9 @@ MACRO(ADD_PARAVIEW_DISPLAY_PANEL OUTIFACES OUTSRCS) ...@@ -251,9 +255,9 @@ MACRO(ADD_PARAVIEW_DISPLAY_PANEL OUTIFACES OUTSRCS)
SET(PANEL_XML_NAME ${ARG_XML_NAME}) SET(PANEL_XML_NAME ${ARG_XML_NAME})
SET(${OUTIFACES} ${PANEL_NAME}) SET(${OUTIFACES} ${PANEL_NAME})
CONFIGURE_FILE(${ParaView_CMAKE_DIR}/pqDisplayPanelImplementation.h.in CONFIGURE_FILE(${_paraviewplugins_cmake_dir}/pqDisplayPanelImplementation.h.in
${CMAKE_CURRENT_BINARY_DIR}/${PANEL_NAME}Implementation.h @ONLY) ${CMAKE_CURRENT_BINARY_DIR}/${PANEL_NAME}Implementation.h @ONLY)
CONFIGURE_FILE(${ParaView_CMAKE_DIR}/pqDisplayPanelImplementation.cxx.in CONFIGURE_FILE(${_paraviewplugins_cmake_dir}/pqDisplayPanelImplementation.cxx.in
${CMAKE_CURRENT_BINARY_DIR}/${PANEL_NAME}Implementation.cxx @ONLY) ${CMAKE_CURRENT_BINARY_DIR}/${PANEL_NAME}Implementation.cxx @ONLY)
SET(DISPLAY_MOC_SRCS) SET(DISPLAY_MOC_SRCS)
...@@ -272,9 +276,9 @@ MACRO(ADD_PARAVIEW_SUMMARY_DISPLAY_PANEL OUTIFACES OUTSRCS REPRESENTATIONS CLASS ...@@ -272,9 +276,9 @@ MACRO(ADD_PARAVIEW_SUMMARY_DISPLAY_PANEL OUTIFACES OUTSRCS REPRESENTATIONS CLASS
SET(REPRESENTATIONS ${REPRESENTATIONS}) SET(REPRESENTATIONS ${REPRESENTATIONS})
SET(${OUTIFACES} ${PANEL_NAME}) SET(${OUTIFACES} ${PANEL_NAME})
CONFIGURE_FILE(${ParaView_CMAKE_DIR}/pqSummaryPanelImplementation.h.in CONFIGURE_FILE(${_paraviewplugins_cmake_dir}/pqSummaryPanelImplementation.h.in
${CMAKE_CURRENT_BINARY_DIR}/${PANEL_NAME}Implementation.h @ONLY) ${CMAKE_CURRENT_BINARY_DIR}/${PANEL_NAME}Implementation.h @ONLY)
CONFIGURE_FILE(${ParaView_CMAKE_DIR}/pqSummaryPanelImplementation.cxx.in CONFIGURE_FILE(${_paraviewplugins_cmake_dir}/pqSummaryPanelImplementation.cxx.in
${CMAKE_CURRENT_BINARY_DIR}/${PANEL_NAME}Implementation.cxx @ONLY) ${CMAKE_CURRENT_BINARY_DIR}/${PANEL_NAME}Implementation.cxx @ONLY)
SET(DISPLAY_MOC_SRCS) SET(DISPLAY_MOC_SRCS)
...@@ -362,9 +366,9 @@ MACRO(ADD_PARAVIEW_VIEW_MODULE OUTIFACES OUTSRCS) ...@@ -362,9 +366,9 @@ MACRO(ADD_PARAVIEW_VIEW_MODULE OUTIFACES OUTSRCS)
SET(ARG_DISPLAY_TYPE "pqDataRepresentation") SET(ARG_DISPLAY_TYPE "pqDataRepresentation")
ENDIF(NOT ARG_DISPLAY_TYPE) ENDIF(NOT ARG_DISPLAY_TYPE)
CONFIGURE_FILE(${ParaView_CMAKE_DIR}/pqViewModuleImplementation.h.in CONFIGURE_FILE(${_paraviewplugins_cmake_dir}/pqViewModuleImplementation.h.in
${CMAKE_CURRENT_BINARY_DIR}/${ARG_VIEW_TYPE}Implementation.h @ONLY) ${CMAKE_CURRENT_BINARY_DIR}/${ARG_VIEW_TYPE}Implementation.h @ONLY)
CONFIGURE_FILE(${ParaView_CMAKE_DIR}/pqViewModuleImplementation.cxx.in CONFIGURE_FILE(${_paraviewplugins_cmake_dir}/pqViewModuleImplementation.cxx.in
${CMAKE_CURRENT_BINARY_DIR}/${ARG_VIEW_TYPE}Implementation.cxx @ONLY) ${CMAKE_CURRENT_BINARY_DIR}/${ARG_VIEW_TYPE}Implementation.cxx @ONLY)
IF(PARAVIEW_BUILD_QT_GUI) IF(PARAVIEW_BUILD_QT_GUI)
...@@ -426,9 +430,9 @@ MACRO(ADD_PARAVIEW_VIEW_OPTIONS OUTIFACES OUTSRCS) ...@@ -426,9 +430,9 @@ MACRO(ADD_PARAVIEW_VIEW_OPTIONS OUTIFACES OUTSRCS)
SET(${OUTIFACES} ${ARG_VIEW_TYPE}Options) SET(${OUTIFACES} ${ARG_VIEW_TYPE}Options)
CONFIGURE_FILE(${ParaView_CMAKE_DIR}/pqViewOptionsImplementation.h.in CONFIGURE_FILE(${_paraviewplugins_cmake_dir}/pqViewOptionsImplementation.h.in
${CMAKE_CURRENT_BINARY_DIR}/${ARG_VIEW_TYPE}OptionsImplementation.h @ONLY) ${CMAKE_CURRENT_BINARY_DIR}/${ARG_VIEW_TYPE}OptionsImplementation.h @ONLY)
CONFIGURE_FILE(${ParaView_CMAKE_DIR}/pqViewOptionsImplementation.cxx.in CONFIGURE_FILE(${_paraviewplugins_cmake_dir}/pqViewOptionsImplementation.cxx.in
${CMAKE_CURRENT_BINARY_DIR}/${ARG_VIEW_TYPE}OptionsImplementation.cxx @ONLY) ${CMAKE_CURRENT_BINARY_DIR}/${ARG_VIEW_TYPE}OptionsImplementation.cxx @ONLY)
SET(PANEL_MOC_SRCS) SET(PANEL_MOC_SRCS)
...@@ -457,9 +461,9 @@ MACRO(ADD_PARAVIEW_ACTION_GROUP OUTIFACES OUTSRCS) ...@@ -457,9 +461,9 @@ MACRO(ADD_PARAVIEW_ACTION_GROUP OUTIFACES OUTSRCS)
SET(${OUTIFACES} ${ARG_CLASS_NAME}) SET(${OUTIFACES} ${ARG_CLASS_NAME})
CONFIGURE_FILE(${ParaView_CMAKE_DIR}/pqActionGroupImplementation.h.in CONFIGURE_FILE(${_paraviewplugins_cmake_dir}/pqActionGroupImplementation.h.in
${CMAKE_CURRENT_BINARY_DIR}/${ARG_CLASS_NAME}Implementation.h @ONLY) ${CMAKE_CURRENT_BINARY_DIR}/${ARG_CLASS_NAME}Implementation.h @ONLY)
CONFIGURE_FILE(${ParaView_CMAKE_DIR}/pqActionGroupImplementation.cxx.in CONFIGURE_FILE(${_paraviewplugins_cmake_dir}/pqActionGroupImplementation.cxx.in
${CMAKE_CURRENT_BINARY_DIR}/${ARG_CLASS_NAME}Implementation.cxx @ONLY) ${CMAKE_CURRENT_BINARY_DIR}/${ARG_CLASS_NAME}Implementation.cxx @ONLY)
SET(ACTION_MOC_SRCS) SET(ACTION_MOC_SRCS)
...@@ -485,9 +489,9 @@ MACRO(ADD_PARAVIEW_VIEW_FRAME_ACTION_GROUP OUTIFACES OUTSRCS) ...@@ -485,9 +489,9 @@ MACRO(ADD_PARAVIEW_VIEW_FRAME_ACTION_GROUP OUTIFACES OUTSRCS)
SET(${OUTIFACES} ${ARG_CLASS_NAME}) SET(${OUTIFACES} ${ARG_CLASS_NAME})
CONFIGURE_FILE(${ParaView_CMAKE_DIR}/pqViewFrameActionGroupImplementation.h.in CONFIGURE_FILE(${_paraviewplugins_cmake_dir}/pqViewFrameActionGroupImplementation.h.in
${CMAKE_CURRENT_BINARY_DIR}/${ARG_CLASS_NAME}Implementation.h @ONLY) ${CMAKE_CURRENT_BINARY_DIR}/${ARG_CLASS_NAME}Implementation.h @ONLY)
CONFIGURE_FILE(${ParaView_CMAKE_DIR}/pqViewFrameActionGroupImplementation.cxx.in CONFIGURE_FILE(${_paraviewplugins_cmake_dir}/pqViewFrameActionGroupImplementation.cxx.in
${CMAKE_CURRENT_BINARY_DIR}/${ARG_CLASS_NAME}Implementation.cxx @ONLY) ${CMAKE_CURRENT_BINARY_DIR}/${ARG_CLASS_NAME}Implementation.cxx @ONLY)
SET(ACTION_MOC_SRCS) SET(ACTION_MOC_SRCS)
...@@ -521,9 +525,9 @@ MACRO(ADD_PARAVIEW_DOCK_WINDOW OUTIFACES OUTSRCS) ...@@ -521,9 +525,9 @@ MACRO(ADD_PARAVIEW_DOCK_WINDOW OUTIFACES OUTSRCS)
ENDIF(NOT ARG_DOCK_AREA) ENDIF(NOT ARG_DOCK_AREA)
SET(${OUTIFACES} ${ARG_CLASS_NAME}) SET(${OUTIFACES} ${ARG_CLASS_NAME})
CONFIGURE_FILE(${ParaView_CMAKE_DIR}/pqDockWindowImplementation.h.in CONFIGURE_FILE(${_paraviewplugins_cmake_dir}/pqDockWindowImplementation.h.in
${CMAKE_CURRENT_BINARY_DIR}/${ARG_CLASS_NAME}Implementation.h @ONLY) ${CMAKE_CURRENT_BINARY_DIR}/${ARG_CLASS_NAME}Implementation.h @ONLY)
CONFIGURE_FILE(${ParaView_CMAKE_DIR}/pqDockWindowImplementation.cxx.in CONFIGURE_FILE(${_paraviewplugins_cmake_dir}/pqDockWindowImplementation.cxx.in
${CMAKE_CURRENT_BINARY_DIR}/${ARG_CLASS_NAME}Implementation.cxx @ONLY) ${CMAKE_CURRENT_BINARY_DIR}/${ARG_CLASS_NAME}Implementation.cxx @ONLY)
SET(ACTION_MOC_SRCS) SET(ACTION_MOC_SRCS)
...@@ -566,9 +570,9 @@ MACRO(ADD_PARAVIEW_AUTO_START OUTIFACES OUTSRCS) ...@@ -566,9 +570,9 @@ MACRO(ADD_PARAVIEW_AUTO_START OUTIFACES OUTSRCS)
ENDIF (NOT ARG_SHUTDOWN) ENDIF (NOT ARG_SHUTDOWN)
SET(${OUTIFACES} ${ARG_CLASS_NAME}) SET(${OUTIFACES} ${ARG_CLASS_NAME})
CONFIGURE_FILE(${ParaView_CMAKE_DIR}/pqAutoStartImplementation.h.in CONFIGURE_FILE(${_paraviewplugins_cmake_dir}/pqAutoStartImplementation.h.in
${CMAKE_CURRENT_BINARY_DIR}/${ARG_CLASS_NAME}Implementation.h @ONLY) ${CMAKE_CURRENT_BINARY_DIR}/${ARG_CLASS_NAME}Implementation.h @ONLY)
CONFIGURE_FILE(${ParaView_CMAKE_DIR}/pqAutoStartImplementation.cxx.in CONFIGURE_FILE(${_paraviewplugins_cmake_dir}/pqAutoStartImplementation.cxx.in
${CMAKE_CURRENT_BINARY_DIR}/${ARG_CLASS_NAME}Implementation.cxx @ONLY) ${CMAKE_CURRENT_BINARY_DIR}/${ARG_CLASS_NAME}Implementation.cxx @ONLY)
SET(ACTION_MOC_SRCS) SET(ACTION_MOC_SRCS)
...@@ -597,9 +601,9 @@ MACRO(ADD_PARAVIEW_DISPLAY_PANEL_DECORATOR OUTIFACES OUTSRCS) ...@@ -597,9 +601,9 @@ MACRO(ADD_PARAVIEW_DISPLAY_PANEL_DECORATOR OUTIFACES OUTSRCS)
PV_PLUGIN_PARSE_ARGUMENTS(ARG "CLASS_NAME;PANEL_TYPES" "" ${ARGN}) PV_PLUGIN_PARSE_ARGUMENTS(ARG "CLASS_NAME;PANEL_TYPES" "" ${ARGN})
SET(${OUTIFACES} ${ARG_CLASS_NAME}) SET(${OUTIFACES} ${ARG_CLASS_NAME})
CONFIGURE_FILE(${ParaView_CMAKE_DIR}/pqDisplayPanelDecoratorImplementation.h.in CONFIGURE_FILE(${_paraviewplugins_cmake_dir}/pqDisplayPanelDecoratorImplementation.h.in
${CMAKE_CURRENT_BINARY_DIR}/${ARG_CLASS_NAME}Implementation.h @ONLY) ${CMAKE_CURRENT_BINARY_DIR}/${ARG_CLASS_NAME}Implementation.h @ONLY)
CONFIGURE_FILE(${ParaView_CMAKE_DIR}/pqDisplayPanelDecoratorImplementation.cxx.in CONFIGURE_FILE(${_paraviewplugins_cmake_dir}/pqDisplayPanelDecoratorImplementation.cxx.in
${CMAKE_CURRENT_BINARY_DIR}/${ARG_CLASS_NAME}Implementation.cxx @ONLY) ${CMAKE_CURRENT_BINARY_DIR}/${ARG_CLASS_NAME}Implementation.cxx @ONLY)
SET(ACTION_MOC_SRCS) SET(ACTION_MOC_SRCS)
...@@ -624,9 +628,9 @@ MACRO(ADD_3DWIDGET OUTIFACES OUTSRCS) ...@@ -624,9 +628,9 @@ MACRO(ADD_3DWIDGET OUTIFACES OUTSRCS)
PV_PLUGIN_PARSE_ARGUMENTS(ARG "CLASS_NAME;WIDGET_TYPE" "" ${ARGN}) PV_PLUGIN_PARSE_ARGUMENTS(ARG "CLASS_NAME;WIDGET_TYPE" "" ${ARGN})
SET(${OUTIFACES} ${ARG_CLASS_NAME}) SET(${OUTIFACES} ${ARG_CLASS_NAME})
CONFIGURE_FILE(${ParaView_CMAKE_DIR}/pq3DWidgetImplementation.h.in CONFIGURE_FILE(${_paraviewplugins_cmake_dir}/pq3DWidgetImplementation.h.in
${CMAKE_CURRENT_BINARY_DIR}/${ARG_CLASS_NAME}Implementation.h @ONLY) ${CMAKE_CURRENT_BINARY_DIR}/${ARG_CLASS_NAME}Implementation.h @ONLY)
CONFIGURE_FILE(${ParaView_CMAKE_DIR}/pq3DWidgetImplementation.cxx.in CONFIGURE_FILE(${_paraviewplugins_cmake_dir}/pq3DWidgetImplementation.cxx.in
${CMAKE_CURRENT_BINARY_DIR}/${ARG_CLASS_NAME}Implementation.cxx @ONLY) ${CMAKE_CURRENT_BINARY_DIR}/${ARG_CLASS_NAME}Implementation.cxx @ONLY)
SET(ACTION_MOC_SRCS) SET(ACTION_MOC_SRCS)
...@@ -656,9 +660,9 @@ MACRO(ADD_PARAVIEW_GRAPH_LAYOUT_STRATEGY OUTIFACES OUTSRCS) ...@@ -656,9 +660,9 @@ MACRO(ADD_PARAVIEW_GRAPH_LAYOUT_STRATEGY OUTIFACES OUTSRCS)
SET(${OUTIFACES} ${ARG_STRATEGY_TYPE}) SET(${OUTIFACES} ${ARG_STRATEGY_TYPE})
CONFIGURE_FILE(${ParaView_CMAKE_DIR}/pqGraphLayoutStrategyImplementation.h.in CONFIGURE_FILE(${_paraviewplugins_cmake_dir}/pqGraphLayoutStrategyImplementation.h.in
${CMAKE_CURRENT_BINARY_DIR}/${ARG_STRATEGY_TYPE}Implementation.h @ONLY) ${CMAKE_CURRENT_BINARY_DIR}/${ARG_STRATEGY_TYPE}Implementation.h @ONLY)
CONFIGURE_FILE(${ParaView_CMAKE_DIR}/pqGraphLayoutStrategyImplementation.cxx.in CONFIGURE_FILE(${_paraviewplugins_cmake_dir}/pqGraphLayoutStrategyImplementation.cxx.in
${CMAKE_CURRENT_BINARY_DIR}/${ARG_STRATEGY_TYPE}Implementation.cxx @ONLY) ${CMAKE_CURRENT_BINARY_DIR}/${ARG_STRATEGY_TYPE}Implementation.cxx @ONLY)
SET(LAYOUT_MOC_SRCS) SET(LAYOUT_MOC_SRCS)
...@@ -688,9 +692,9 @@ MACRO(ADD_PARAVIEW_TREE_LAYOUT_STRATEGY OUTIFACES OUTSRCS) ...@@ -688,9 +692,9 @@ MACRO(ADD_PARAVIEW_TREE_LAYOUT_STRATEGY OUTIFACES OUTSRCS)
SET(${OUTIFACES} ${ARG_STRATEGY_TYPE}) SET(${OUTIFACES} ${ARG_STRATEGY_TYPE})
CONFIGURE_FILE(${ParaView_CMAKE_DIR}/pqTreeLayoutStrategyImplementation.h.in CONFIGURE_FILE(${_paraviewplugins_cmake_dir}/pqTreeLayoutStrategyImplementation.h.in
${CMAKE_CURRENT_BINARY_DIR}/${ARG_STRATEGY_TYPE}Implementation.h @ONLY) ${CMAKE_CURRENT_BINARY_DIR}/${ARG_STRATEGY_TYPE}Implementation.h @ONLY)
CONFIGURE_FILE(${ParaView_CMAKE_DIR}/pqTreeLayoutStrategyImplementation.cxx.in CONFIGURE_FILE(${_paraviewplugins_cmake_dir}/pqTreeLayoutStrategyImplementation.cxx.in
${CMAKE_CURRENT_BINARY_DIR}/${ARG_STRATEGY_TYPE}Implementation.cxx @ONLY) ${CMAKE_CURRENT_BINARY_DIR}/${ARG_STRATEGY_TYPE}Implementation.cxx @ONLY)
SET(LAYOUT_MOC_SRCS) SET(LAYOUT_MOC_SRCS)
...@@ -955,10 +959,10 @@ FUNCTION(ADD_PARAVIEW_PLUGIN NAME VERSION) ...@@ -955,10 +959,10 @@ FUNCTION(ADD_PARAVIEW_PLUGIN NAME VERSION)
IF(GUI_SRCS OR SM_SRCS OR ARG_SOURCES OR ARG_PYTHON_MODULES) IF(GUI_SRCS OR SM_SRCS OR ARG_SOURCES OR ARG_PYTHON_MODULES)
CONFIGURE_FILE( CONFIGURE_FILE(
${ParaView_CMAKE_DIR}/pqParaViewPlugin.h.in ${_paraviewplugins_cmake_dir}/pqParaViewPlugin.h.in
${CMAKE_CURRENT_BINARY_DIR}/${PLUGIN_NAME}_Plugin.h @ONLY) ${CMAKE_CURRENT_BINARY_DIR}/${PLUGIN_NAME}_Plugin.h @ONLY)
CONFIGURE_FILE( CONFIGURE_FILE(
${ParaView_CMAKE_DIR}/pqParaViewPlugin.cxx.in ${_paraviewplugins_cmake_dir}/pqParaViewPlugin.cxx.in
${CMAKE_CURRENT_BINARY_DIR}/${PLUGIN_NAME}_Plugin.cxx @ONLY) ${CMAKE_CURRENT_BINARY_DIR}/${PLUGIN_NAME}_Plugin.cxx @ONLY)
SET (plugin_sources SET (plugin_sources
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment