mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-03-22 22:37:55 +05:00
Porting to ParaView 5.8: additional changes
This commit is contained in:
parent
f7af3a0852
commit
6052d887af
@ -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
|
||||
|
@ -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}
|
||||
|
@ -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)
|
||||
|
@ -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 ---
|
||||
|
@ -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 ---
|
||||
|
@ -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 ---
|
||||
|
@ -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 ---
|
||||
|
@ -22,7 +22,6 @@
|
||||
INCLUDE_DIRECTORIES(
|
||||
${KERNEL_INCLUDE_DIRS}
|
||||
${GEOM_INCLUDE_DIRS}
|
||||
${VTK_INCLUDE_DIRS}
|
||||
${OpenCASCADE_INCLUDE_DIR}
|
||||
${Boost_INCLUDE_DIRS}
|
||||
${OMNIORB_INCLUDE_DIR}
|
||||
|
Loading…
x
Reference in New Issue
Block a user