Commit e5b20a59 authored by Chris Harris's avatar Chris Harris

Update VTK_ADD_LIBRARY => PVVTK_ADD_LIBRARY

Update uses of VTK_ADD_LIBRARY to call PVVTK_ADD_LIBRARY. PVVTK_ADD_LIBRARY
version is included in paraview for compatibility.
parent 72572425
......@@ -46,7 +46,7 @@ ${VISIT_SOURCE_DIR}/visit_vtk/full
${VISIT_SOURCE_DIR}/visit_vtk/lightweight
${VTK_INCLUDE_DIRS}
)
VTK_ADD_LIBRARY(vtkVisItAVTAlgorithms ${Kit_SRCS})
PVVTK_ADD_LIBRARY(vtkVisItAVTAlgorithms ${Kit_SRCS})
## NOTE: Always link to vtkParallel b/c it is needed for using vtkAMRUtilities
## When creating vtkOverlappingAMR datasets (especially on windows)
......
......@@ -27,7 +27,7 @@ MACRO(VISIT_INSTALL_TARGETS target)
ENDMACRO(VISIT_INSTALL_TARGETS)
FUNCTION(ADD_PARALLEL_LIBRARY target)
VTK_ADD_LIBRARY(${target} ${ARGN})
PVVTK_ADD_LIBRARY(${target} ${ARGN})
IF(VISIT_PARALLEL_CXXFLAGS)
SET(PAR_COMPILE_FLAGS "")
FOREACH (X ${VISIT_PARALLEL_CXXFLAGS})
......
......@@ -84,7 +84,7 @@ ${AVT_DBATTS_SOURCE_DIR}/SIL
# Add link directories needed.
LINK_DIRECTORIES(${LIBRARY_OUTPUT_DIRECTORY})
VTK_ADD_LIBRARY(avtdbatts ${METADATA_SOURCES} ${SIL_SOURCES})
PVVTK_ADD_LIBRARY(avtdbatts ${METADATA_SOURCES} ${SIL_SOURCES})
TARGET_LINK_LIBRARIES(avtdbatts visitcommon)
......
......@@ -109,7 +109,7 @@ LINK_DIRECTORIES(${LIBRARY_OUTPUT_DIRECTORY} ${VTK_LIBRARY_DIRS})
#********************************* SERIAL ************************************
VTK_ADD_LIBRARY(avtdatabase_ser ${AVTDATABASE_SOURCES})
PVVTK_ADD_LIBRARY(avtdatabase_ser ${AVTDATABASE_SOURCES})
TARGET_LINK_LIBRARIES(avtdatabase_ser visitcommon avtdbatts ${AVTMIR_SER} avtpipeline_ser visit_vtk)
VISIT_INSTALL_TARGETS(avtdatabase_ser)
......
......@@ -61,7 +61,7 @@ ${VTK_INCLUDE_DIRS}
# Add link directories
LINK_DIRECTORIES(${LIBRARY_OUTPUT_DIRECTORY} ${VTK_LIBRARY_DIRS})
VTK_ADD_LIBRARY(avtivp ${AVTIVP_SOURCES})
PVVTK_ADD_LIBRARY(avtivp ${AVTIVP_SOURCES})
TARGET_LINK_LIBRARIES(avtivp avtmath visitcommon visit_vtk vtkCommon vtkFiltering)
VISIT_INSTALL_TARGETS(avtivp)
......@@ -59,7 +59,7 @@ ${VTK_INCLUDE_DIRS}
# Add link directories
LINK_DIRECTORIES(${LIBRARY_OUTPUT_DIRECTORY} ${VTK_LIBRARY_DIRS})
VTK_ADD_LIBRARY(avtmath ${AVTMATH_SOURCES})
PVVTK_ADD_LIBRARY(avtmath ${AVTMATH_SOURCES})
TARGET_LINK_LIBRARIES(avtmath visitcommon vtkCommon)
VISIT_INSTALL_TARGETS(avtmath)
......@@ -223,7 +223,7 @@ LINK_DIRECTORIES(${LIBRARY_OUTPUT_DIRECTORY} ${VTK_LIBRARY_DIRS})
#********************************* SERIAL ************************************
VTK_ADD_LIBRARY(avtpipeline_ser ${ALL_SOURCES})
PVVTK_ADD_LIBRARY(avtpipeline_ser ${ALL_SOURCES})
TARGET_LINK_LIBRARIES(avtpipeline_ser visitcommon avtmath avtdbatts lightweight_visit_vtk vtkGraphics ${ZLIB_LIB})
VISIT_INSTALL_TARGETS(avtpipeline_ser)
......
......@@ -283,7 +283,7 @@ IF(WIN32)
PROPERTIES LANGUAGE CXX)
ENDIF(WIN32)
VTK_ADD_LIBRARY(visitcommon
PVVTK_ADD_LIBRARY(visitcommon
${COMM_SOURCES} ${COMM_WIN32_SOURCES}
${EXCEPTION_SOURCES}
${EXPRESSION_SOURCES}
......
......@@ -161,7 +161,7 @@ INCLUDE(${VTK_CMAKE_DIR}/vtkExportKit.cmake)
VTK_EXPORT_KIT("${KIT}" "${KIT_UPCASE}" "${Kit_SRCS}")
#build all the readers into a single library
vtk_add_library(vtk${KIT} ${Kit_SRCS} ${VISIT_DB_SOURCES})
pvvtk_add_library(vtk${KIT} ${Kit_SRCS} ${VISIT_DB_SOURCES})
target_link_libraries(vtk${KIT} vtkVisItAVTAlgorithms vtkNetCDF)
if(PARAVIEW_HDF5_LIBRARIES)
......
......@@ -114,7 +114,7 @@ get_directory_property(tmp_include_dirs INCLUDE_DIRECTORIES)
set_directory_properties(PROPERTIES INCLUDE_DIRECTORIES
"${VISIT_SOURCE_DIR}/parser;${tmp_include_dirs}")
VTK_ADD_LIBRARY(visit_vtk ${VISIT_VTK_SOURCES})
PVVTK_ADD_LIBRARY(visit_vtk ${VISIT_VTK_SOURCES})
TARGET_LINK_LIBRARIES(visit_vtk lightweight_visit_vtk vtkGraphics vtkImaging ${VTK_TIFF_LIBRARIES})
VISIT_INSTALL_TARGETS(visit_vtk)
......@@ -74,7 +74,7 @@ ${VISIT_SOURCE_DIR}/visit_vtk/lightweight
# Add link directories needed to use our libraries and VTK.
LINK_DIRECTORIES(${LIBRARY_OUTPUT_DIRECTORY} ${VTK_LIBRARY_DIRS})
VTK_ADD_LIBRARY(lightweight_visit_vtk
PVVTK_ADD_LIBRARY(lightweight_visit_vtk
${LIGHTWEIGHT_VISIT_VTK_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