Porting to ParaView 5.8: additional changes

This commit is contained in:
vsr 2020-02-28 16:50:12 +03:00
parent f7af3a0852
commit 6052d887af
8 changed files with 2 additions and 20 deletions

View File

@ -51,7 +51,7 @@ def set_env(args):
for resource_file in [i for i in os.listdir(resource_dir) \
if osp.isfile(os.path.join(resource_dir, i))]:
# look for resource file (XML) to extract valid plugin name
if resource_file.lower() == '{plugin_lname}.xml':
if resource_file.lower() == f'{plugin_lname}.xml':
try:
# get plugin name from 'resources' attribute of 'meshers-group' xml node
# as name extracted from environment variable can be in wrong case

View File

@ -21,7 +21,6 @@
# additional include directories
INCLUDE_DIRECTORIES(
${OpenCASCADE_INCLUDE_DIR}
${VTK_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
${KERNEL_INCLUDE_DIRS}
${PROJECT_SOURCE_DIR}/src/SMDS
@ -37,7 +36,6 @@ ADD_DEFINITIONS(
# libraries to link to
SET(_link_LIBRARIES
${VTK_LIBRARIES}
${OpenCASCADE_FoundationClasses_LIBRARIES}
${OpenCASCADE_ModelingData_LIBRARIES}
${OpenCASCADE_ModelingAlgorithms_LIBRARIES}

View File

@ -17,8 +17,6 @@
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
find_package(ParaView REQUIRED)
# --- options ---
# additional include directories
INCLUDE_DIRECTORIES(
@ -63,7 +61,6 @@ SET(_link_LIBRARIES
SMESHClient
SMDS
SMESHControls
ParaView::pqApplicationComponents
)
IF(SALOME_USE_PLOT2DVIEWER)

View File

@ -17,8 +17,6 @@
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
find_package(ParaView REQUIRED)
# --- options ---
# additional include directories
INCLUDE_DIRECTORIES(
@ -56,7 +54,6 @@ SET(_link_LIBRARIES
${GUI_suit}
SalomeIDLSMESH
SMESH
ParaView::pqApplicationComponents
)
# --- headers ---

View File

@ -17,8 +17,6 @@
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
find_package(ParaView REQUIRED)
# --- options ---
# additional include directories
INCLUDE_DIRECTORIES(
@ -45,13 +43,12 @@ ADD_DEFINITIONS(
SET(_link_LIBRARIES
${KERNEL_SalomeDSClient}
${KERNEL_SalomeDS}
${GUI_SalomeApp}
${GUI_suit}
${GEOM_GEOM}
${GEOM_GEOMClient}
${OpenCASCADE_FoundationClasses_LIBRARIES}
${OpenCASCADE_ModelingData_LIBRARIES}
SalomeIDLSMESH
ParaView::pqApplicationComponents
)
# --- headers ---

View File

@ -17,8 +17,6 @@
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
find_package(ParaView REQUIRED)
INCLUDE(UseQtExt)
# --- options ---
@ -75,7 +73,6 @@ SET(_link_LIBRARIES
SMDS
SMESHControls
SMESHObject
ParaView::pqApplicationComponents
)
# --- headers ---

View File

@ -17,8 +17,6 @@
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
find_package(ParaView REQUIRED)
INCLUDE(${SWIG_USE_FILE})
# --- options ---
@ -60,7 +58,6 @@ SET(_link_LIBRARIES
${GUI_std}
${GUI_Event}
SMESH
ParaView::pqApplicationComponents
)
# --- headers ---

View File

@ -22,7 +22,6 @@
INCLUDE_DIRECTORIES(
${KERNEL_INCLUDE_DIRS}
${GEOM_INCLUDE_DIRS}
${VTK_INCLUDE_DIRS}
${OpenCASCADE_INCLUDE_DIR}
${Boost_INCLUDE_DIRS}
${OMNIORB_INCLUDE_DIR}