Port GEOM to new ParaView 5.8.

This commit is contained in:
Pascal Obry 2020-01-31 11:13:29 +01:00
parent 7c35075817
commit b4332c1441
11 changed files with 6 additions and 19 deletions

View File

@ -24,7 +24,6 @@ INCLUDE(UseQtExt)
# additional include directories
INCLUDE_DIRECTORIES(
${PTHREAD_INCLUDE_DIR}
${VTK_INCLUDE_DIRS}
${OMNIORB_INCLUDE_DIR}
${OpenCASCADE_INCLUDE_DIR}
${KERNEL_INCLUDE_DIRS}

View File

@ -24,7 +24,6 @@ INCLUDE(UseQtExt)
# additional include directories
INCLUDE_DIRECTORIES(
${PTHREAD_INCLUDE_DIR}
${VTK_INCLUDE_DIRS}
${OMNIORB_INCLUDE_DIR}
${OpenCASCADE_INCLUDE_DIR}
${KERNEL_INCLUDE_DIRS}

View File

@ -49,7 +49,6 @@ ENDIF(WIN32)
# libraries to link to
SET(_link_LIBRARIES
${QT_LIBRARIES}
${GUI_SalomeApp}
${GUI_GraphicsView}
GEOM
GEOMBase

View File

@ -36,7 +36,6 @@ ADD_DEFINITIONS(
# libraries to link to
SET(_link_LIBRARIES
${QT_LIBRARIES}
${GUI_SalomeApp}
)
# --- resources ---

View File

@ -24,7 +24,6 @@ INCLUDE(UseQtExt)
# additional include directories
INCLUDE_DIRECTORIES(
${PTHREAD_INCLUDE_DIR}
${VTK_INCLUDE_DIRS}
${OMNIORB_INCLUDE_DIR}
${OpenCASCADE_INCLUDE_DIR}
${KERNEL_INCLUDE_DIRS}
@ -55,7 +54,6 @@ SET(_link_LIBRARIES
GEOM
DlgRef
${KERNEL_SALOMELocalTrace}
${GUI_SalomeApp}
)
# --- headers ---

View File

@ -45,7 +45,6 @@ SET(_link_LIBRARIES
GEOMClient
${OpenCASCADE_ModelingData_LIBRARIES}
${KERNEL_SALOMELocalTrace}
${GUI_SalomeApp}
)
# --- headers ---

View File

@ -59,7 +59,6 @@ SET(_link_LIBRARIES
${KERNEL_SALOMELocalTrace}
${KERNEL_SalomeDS}
${KERNEL_SalomeDSClient}
${GUI_SalomeApp}
)
# --- headers ---

View File

@ -48,7 +48,6 @@ SET(_link_LIBRARIES
GEOMClient
${OpenCASCADE_ModelingData_LIBRARIES}
${KERNEL_SALOMELocalTrace}
${GUI_SalomeApp}
)
# --- headers ---

View File

@ -17,13 +17,12 @@
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
INCLUDE(${VTK_USE_FILE})
find_package(ParaView REQUIRED)
# --- options ---
# additional include directories
INCLUDE_DIRECTORIES(
${VTK_INCLUDE_DIRS}
${PTHREAD_INCLUDE_DIR}
${OMNIORB_INCLUDE_DIR}
${OpenCASCADE_INCLUDE_DIR}
@ -50,13 +49,12 @@ SET(_link_LIBRARIES
${OpenCASCADE_ModelingData_LIBRARIES}
${OpenCASCADE_Visualization_LIBRARIES}
${KERNEL_SALOMELocalTrace}
${GUI_SalomeObject}
${GUI_SVTK}
${QT_QTCORE_LIBRARY}
vtkRenderingMatplotlib
vtkInteractionStyle
ParaView::pqApplicationComponents
VTK::RenderingMatplotlib
VTK::InteractionStyle
GEOMUtils
#${VTK_LIBRARIES}
)
# --- headers ---

View File

@ -23,7 +23,6 @@
INCLUDE_DIRECTORIES(
${OpenCASCADE_INCLUDE_DIR}
${KERNEL_INCLUDE_DIRS}
${VTK_INCLUDE_DIRS}
${CMAKE_CURRENT_SOURCE_DIR}
${PROJECT_SOURCE_DIR}/src/GEOMUtils
)
@ -35,7 +34,7 @@ ADD_DEFINITIONS(
# libraries to link to
SET(_link_LIBRARIES
vtkFiltersCore
VTK::FiltersCore
${OpenCASCADE_FoundationClasses_LIBRARIES}
${OpenCASCADE_ModelingAlgorithms_LIBRARIES}
${KERNEL_SALOMELocalTrace}

View File

@ -26,7 +26,6 @@ ENDIF()
# additional include directories
INCLUDE_DIRECTORIES(
${OpenCASCADE_INCLUDE_DIR}
${VTK_INCLUDE_DIRS}
${KERNEL_INCLUDE_DIRS}
${PROJECT_BINARY_DIR}/idl
${PROJECT_SOURCE_DIR}/src/GEOMAlgo
@ -71,7 +70,7 @@ SET(_link_engine_LIBRARIES
SalomeIDLVTKPlugin
GEOMEngine
GEOMClient
vtkIOLegacy
VTK::IOLegacy
OCC2VTK
)