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
# additional include directories
INCLUDE_DIRECTORIES(
${OpenCASCADE_INCLUDE_DIR}
- ${VTK_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
${KERNEL_INCLUDE_DIRS}
${PROJECT_SOURCE_DIR}/src/SMDS
# libraries to link to
SET(_link_LIBRARIES
- ${VTK_LIBRARIES}
${OpenCASCADE_FoundationClasses_LIBRARIES}
${OpenCASCADE_ModelingData_LIBRARIES}
${OpenCASCADE_ModelingAlgorithms_LIBRARIES}
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-find_package(ParaView REQUIRED)
-
# --- options ---
# additional include directories
INCLUDE_DIRECTORIES(
SMESHClient
SMDS
SMESHControls
- ParaView::pqApplicationComponents
)
IF(SALOME_USE_PLOT2DVIEWER)
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-find_package(ParaView REQUIRED)
-
# --- options ---
# additional include directories
INCLUDE_DIRECTORIES(
${GUI_suit}
SalomeIDLSMESH
SMESH
- ParaView::pqApplicationComponents
)
# --- headers ---
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-find_package(ParaView REQUIRED)
-
# --- options ---
# additional include directories
INCLUDE_DIRECTORIES(
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 ---
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-find_package(ParaView REQUIRED)
-
INCLUDE(UseQtExt)
# --- options ---
SMDS
SMESHControls
SMESHObject
- ParaView::pqApplicationComponents
)
# --- headers ---
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-find_package(ParaView REQUIRED)
-
INCLUDE(${SWIG_USE_FILE})
# --- options ---
${GUI_std}
${GUI_Event}
SMESH
- ParaView::pqApplicationComponents
)
# --- headers ---
INCLUDE_DIRECTORIES(
${KERNEL_INCLUDE_DIRS}
${GEOM_INCLUDE_DIRS}
- ${VTK_INCLUDE_DIRS}
${OpenCASCADE_INCLUDE_DIR}
${Boost_INCLUDE_DIRS}
${OMNIORB_INCLUDE_DIR}