From 6f397a6da40b3f8dd5c74707e0b18d47a3672d96 Mon Sep 17 00:00:00 2001 From: Martin Bernhard Date: Thu, 9 Jan 2025 16:14:24 +0000 Subject: [PATCH] [bos #44003] fixed W10 compilation --- src/DriverDAT/CMakeLists.txt | 155 +++++----- src/DriverMED/CMakeLists.txt | 175 ++++++----- src/DriverSTL/CMakeLists.txt | 167 ++++++----- src/DriverUNV/CMakeLists.txt | 167 ++++++----- src/MEDWrapper/CMakeLists.txt | 178 +++++------ src/PluginUtils/CMakeLists.txt | 172 +++++------ src/SMDS/CMakeLists.txt | 256 ++++++++-------- src/SMESHClient/CMakeLists.txt | 197 ++++++------ src/SMESHDS/CMakeLists.txt | 194 ++++++------ src/SMESH_I/CMakeLists.txt | 319 ++++++++++---------- src/SMESH_SWIG_WITHIHM/CMakeLists.txt | 228 +++++++------- src/StdMeshers/CMakeLists.txt | 413 +++++++++++++------------- src/StdMeshers_I/CMakeLists.txt | 364 +++++++++++------------ 13 files changed, 1489 insertions(+), 1496 deletions(-) diff --git a/src/DriverDAT/CMakeLists.txt b/src/DriverDAT/CMakeLists.txt index c8cb8285f..906048205 100644 --- a/src/DriverDAT/CMakeLists.txt +++ b/src/DriverDAT/CMakeLists.txt @@ -1,78 +1,77 @@ -# Copyright (C) 2012-2024 CEA, EDF, OPEN CASCADE -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# - -# --- options --- -# additional include directories -INCLUDE_DIRECTORIES( - ${KERNEL_INCLUDE_DIRS} - ${OpenCASCADE_INCLUDE_DIR} - ${Boost_INCLUDE_DIRS} - ${PROJECT_SOURCE_DIR}/src/Driver - ${PROJECT_SOURCE_DIR}/src/SMDS - ${PROJECT_SOURCE_DIR}/src/SMESHUtils - ${PROJECT_SOURCE_DIR}/src/SMESHDS -) - -# additional preprocessor / compiler flags -ADD_DEFINITIONS( - ${OpenCASCADE_DEFINITIONS} - ${BOOST_DEFINITIONS} -) - -# libraries to link to -SET(_link_LIBRARIES - ${OpenCASCADE_KERNEL} - ${KERNEL_SALOMEBasics} - ${KERNEL_SalomeIDLKERNEL} - MeshDriver -) - -SET(_link_LIBRARIES_bin - ${KERNEL_OpUtil} - ${KERNEL_SALOMELocalTrace} - ${KERNEL_SALOMEBasics} - ${KERNEL_SalomeIDLKERNEL} - MeshDriver - SMDS -) - -# --- headers --- - -# header files / no moc processing -SET(MeshDriverDAT_HEADERS - DriverDAT_R_SMDS_Mesh.h - DriverDAT_W_SMDS_Mesh.h - SMESH_DriverDAT.hxx -) - -# --- sources --- - -# sources / static -SET(MeshDriverDAT_SOURCES - DriverDAT_R_SMDS_Mesh.cxx - DriverDAT_W_SMDS_Mesh.cxx -) - -# --- rules --- - -ADD_LIBRARY(MeshDriverDAT ${MeshDriverDAT_SOURCES}) -TARGET_LINK_LIBRARIES(MeshDriverDAT ${_link_LIBRARIES} ) -INSTALL(TARGETS MeshDriverDAT EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) - -INSTALL(FILES ${MeshDriverDAT_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) +# Copyright (C) 2012-2024 CEA, EDF, OPEN CASCADE +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# + +# --- options --- +# additional include directories +INCLUDE_DIRECTORIES( + ${KERNEL_INCLUDE_DIRS} + ${OpenCASCADE_INCLUDE_DIR} + ${Boost_INCLUDE_DIRS} + ${PROJECT_SOURCE_DIR}/src/Driver + ${PROJECT_SOURCE_DIR}/src/SMDS + ${PROJECT_SOURCE_DIR}/src/SMESHUtils + ${PROJECT_SOURCE_DIR}/src/SMESHDS +) + +# additional preprocessor / compiler flags +ADD_DEFINITIONS( + ${OpenCASCADE_DEFINITIONS} + ${BOOST_DEFINITIONS} +) + +# libraries to link to +SET(_link_LIBRARIES + ${OpenCASCADE_KERNEL} + ${KERNEL_SALOMEBasics} + ${KERNEL_SalomeIDLKERNEL} + MeshDriver +) + +SET(_link_LIBRARIES_bin + SALOMELocalTrace + ${KERNEL_SALOMEBasics} + ${KERNEL_SalomeIDLKERNEL} + MeshDriver + SMDS +) + +# --- headers --- + +# header files / no moc processing +SET(MeshDriverDAT_HEADERS + DriverDAT_R_SMDS_Mesh.h + DriverDAT_W_SMDS_Mesh.h + SMESH_DriverDAT.hxx +) + +# --- sources --- + +# sources / static +SET(MeshDriverDAT_SOURCES + DriverDAT_R_SMDS_Mesh.cxx + DriverDAT_W_SMDS_Mesh.cxx +) + +# --- rules --- + +ADD_LIBRARY(MeshDriverDAT ${MeshDriverDAT_SOURCES}) +TARGET_LINK_LIBRARIES(MeshDriverDAT ${_link_LIBRARIES} ) +INSTALL(TARGETS MeshDriverDAT EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) + +INSTALL(FILES ${MeshDriverDAT_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) diff --git a/src/DriverMED/CMakeLists.txt b/src/DriverMED/CMakeLists.txt index 9a977d854..23881f8d5 100644 --- a/src/DriverMED/CMakeLists.txt +++ b/src/DriverMED/CMakeLists.txt @@ -1,88 +1,87 @@ -# Copyright (C) 2012-2024 CEA, EDF, OPEN CASCADE -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# - -# --- options --- -# additional include directories -INCLUDE_DIRECTORIES( - ${MEDCOUPLING_INCLUDE_DIRS} - ${MEDFILE_INCLUDE_DIRS} - ${HDF5_INCLUDE_DIRS} - ${KERNEL_INCLUDE_DIRS} - ${OpenCASCADE_INCLUDE_DIR} - ${Boost_INCLUDE_DIRS} - ${PROJECT_SOURCE_DIR}/src/MEDWrapper - ${PROJECT_SOURCE_DIR}/src/Driver - ${PROJECT_SOURCE_DIR}/src/SMDS - ${PROJECT_SOURCE_DIR}/src/SMESHUtils - ${PROJECT_SOURCE_DIR}/src/SMESHDS -) - -# additional preprocessor / compiler flags -ADD_DEFINITIONS( - ${HDF5_DEFINITIONS} - ${OpenCASCADE_DEFINITIONS} - ${BOOST_DEFINITIONS} -) - -# libraries to link to -SET(_link_LIBRARIES - ${Boost_LIBRARIES} - MeshDriver - MEDWrapper -) - -SET(_link_LIBRARIES_bin - ${_link_LIBRARIES} - ${KERNEL_OpUtil} - ${KERNEL_SALOMELocalTrace} - ${KERNEL_SALOMEBasics} - ${KERNEL_SalomeIDLKERNEL} - SMDS - SMESHDS -) - -# --- headers --- - -# header files / no moc processing -SET(MeshDriverMED_HEADERS - DriverMED.hxx - DriverMED_R_SMESHDS_Mesh.h - DriverMED_W_SMESHDS_Mesh.h - DriverMED_Family.h - DriverMED_W_Field.h - SMESH_DriverMED.hxx -) - -# --- sources --- - -# sources / static -SET(MeshDriverMED_SOURCES - DriverMED_R_SMESHDS_Mesh.cxx - DriverMED_W_SMESHDS_Mesh.cxx - DriverMED_Family.cxx - DriverMED_W_Field.cxx -) - -# --- rules --- - -ADD_LIBRARY(MeshDriverMED ${MeshDriverMED_SOURCES}) -TARGET_LINK_LIBRARIES(MeshDriverMED ${_link_LIBRARIES} ) -INSTALL(TARGETS MeshDriverMED EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) - -INSTALL(FILES ${MeshDriverMED_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) +# Copyright (C) 2012-2024 CEA, EDF, OPEN CASCADE +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# + +# --- options --- +# additional include directories +INCLUDE_DIRECTORIES( + ${MEDCOUPLING_INCLUDE_DIRS} + ${MEDFILE_INCLUDE_DIRS} + ${HDF5_INCLUDE_DIRS} + ${KERNEL_INCLUDE_DIRS} + ${OpenCASCADE_INCLUDE_DIR} + ${Boost_INCLUDE_DIRS} + ${PROJECT_SOURCE_DIR}/src/MEDWrapper + ${PROJECT_SOURCE_DIR}/src/Driver + ${PROJECT_SOURCE_DIR}/src/SMDS + ${PROJECT_SOURCE_DIR}/src/SMESHUtils + ${PROJECT_SOURCE_DIR}/src/SMESHDS +) + +# additional preprocessor / compiler flags +ADD_DEFINITIONS( + ${HDF5_DEFINITIONS} + ${OpenCASCADE_DEFINITIONS} + ${BOOST_DEFINITIONS} +) + +# libraries to link to +SET(_link_LIBRARIES + ${Boost_LIBRARIES} + MeshDriver + MEDWrapper +) + +SET(_link_LIBRARIES_bin + ${_link_LIBRARIES} + SALOMELocalTrace + ${KERNEL_SALOMEBasics} + ${KERNEL_SalomeIDLKERNEL} + SMDS + SMESHDS +) + +# --- headers --- + +# header files / no moc processing +SET(MeshDriverMED_HEADERS + DriverMED.hxx + DriverMED_R_SMESHDS_Mesh.h + DriverMED_W_SMESHDS_Mesh.h + DriverMED_Family.h + DriverMED_W_Field.h + SMESH_DriverMED.hxx +) + +# --- sources --- + +# sources / static +SET(MeshDriverMED_SOURCES + DriverMED_R_SMESHDS_Mesh.cxx + DriverMED_W_SMESHDS_Mesh.cxx + DriverMED_Family.cxx + DriverMED_W_Field.cxx +) + +# --- rules --- + +ADD_LIBRARY(MeshDriverMED ${MeshDriverMED_SOURCES}) +TARGET_LINK_LIBRARIES(MeshDriverMED ${_link_LIBRARIES} ) +INSTALL(TARGETS MeshDriverMED EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) + +INSTALL(FILES ${MeshDriverMED_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) diff --git a/src/DriverSTL/CMakeLists.txt b/src/DriverSTL/CMakeLists.txt index ef95a3698..b60459ef1 100644 --- a/src/DriverSTL/CMakeLists.txt +++ b/src/DriverSTL/CMakeLists.txt @@ -1,84 +1,83 @@ -# Copyright (C) 2012-2024 CEA, EDF, OPEN CASCADE -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# - -# --- options --- -# additional include directories -INCLUDE_DIRECTORIES( - ${KERNEL_INCLUDE_DIRS} - ${OpenCASCADE_INCLUDE_DIR} - ${Boost_INCLUDE_DIRS} - ${PROJECT_SOURCE_DIR}/src/Driver - ${PROJECT_SOURCE_DIR}/src/SMDS - ${PROJECT_SOURCE_DIR}/src/SMESHUtils - ${PROJECT_SOURCE_DIR}/src/SMESH -) - -# additional preprocessor / compiler flags -ADD_DEFINITIONS( - ${OpenCASCADE_DEFINITIONS} - ${BOOST_DEFINITIONS} -) - -# libraries to link to -SET(_link_LIBRARIES - ${OpenCASCADE_FoundationClasses_LIBRARIES} - ${OpenCASCADE_DataExchange_LIBRARIES} - ${OpenCASCADE_ModelingAlgorithms_LIBRARIES} - ${KERNEL_SALOMEBasics} - MeshDriver - SMDS - SMESHUtils -) - -SET(_link_LIBRARIES_bin - ${KERNEL_OpUtil} - ${KERNEL_SALOMELocalTrace} - ${KERNEL_SALOMEBasics} - ${KERNEL_SalomeIDLKERNEL} - ${OpenCASCADE_FoundationClasses_LIBRARIES} - ${OpenCASCADE_DataExchange_LIBRARIES} - ${OpenCASCADE_ModelingAlgorithms_LIBRARIES} - MeshDriver - SMDS -) - -# --- headers --- - -# header files / no moc processing -SET(MeshDriverSTL_HEADERS - DriverSTL_R_SMDS_Mesh.h - DriverSTL_W_SMDS_Mesh.h - SMESH_DriverSTL.hxx -) - -# --- sources --- - -# sources / static -SET(MeshDriverSTL_SOURCES - DriverSTL_R_SMDS_Mesh.cxx - DriverSTL_W_SMDS_Mesh.cxx -) - -# --- rules --- - -ADD_LIBRARY(MeshDriverSTL ${MeshDriverSTL_SOURCES}) -TARGET_LINK_LIBRARIES(MeshDriverSTL ${_link_LIBRARIES} ) -INSTALL(TARGETS MeshDriverSTL EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) - -INSTALL(FILES ${MeshDriverSTL_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) +# Copyright (C) 2012-2024 CEA, EDF, OPEN CASCADE +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# + +# --- options --- +# additional include directories +INCLUDE_DIRECTORIES( + ${KERNEL_INCLUDE_DIRS} + ${OpenCASCADE_INCLUDE_DIR} + ${Boost_INCLUDE_DIRS} + ${PROJECT_SOURCE_DIR}/src/Driver + ${PROJECT_SOURCE_DIR}/src/SMDS + ${PROJECT_SOURCE_DIR}/src/SMESHUtils + ${PROJECT_SOURCE_DIR}/src/SMESH +) + +# additional preprocessor / compiler flags +ADD_DEFINITIONS( + ${OpenCASCADE_DEFINITIONS} + ${BOOST_DEFINITIONS} +) + +# libraries to link to +SET(_link_LIBRARIES + ${OpenCASCADE_FoundationClasses_LIBRARIES} + ${OpenCASCADE_DataExchange_LIBRARIES} + ${OpenCASCADE_ModelingAlgorithms_LIBRARIES} + ${KERNEL_SALOMEBasics} + MeshDriver + SMDS + SMESHUtils +) + +SET(_link_LIBRARIES_bin + SALOMELocalTrace + ${KERNEL_SALOMEBasics} + ${KERNEL_SalomeIDLKERNEL} + ${OpenCASCADE_FoundationClasses_LIBRARIES} + ${OpenCASCADE_DataExchange_LIBRARIES} + ${OpenCASCADE_ModelingAlgorithms_LIBRARIES} + MeshDriver + SMDS +) + +# --- headers --- + +# header files / no moc processing +SET(MeshDriverSTL_HEADERS + DriverSTL_R_SMDS_Mesh.h + DriverSTL_W_SMDS_Mesh.h + SMESH_DriverSTL.hxx +) + +# --- sources --- + +# sources / static +SET(MeshDriverSTL_SOURCES + DriverSTL_R_SMDS_Mesh.cxx + DriverSTL_W_SMDS_Mesh.cxx +) + +# --- rules --- + +ADD_LIBRARY(MeshDriverSTL ${MeshDriverSTL_SOURCES}) +TARGET_LINK_LIBRARIES(MeshDriverSTL ${_link_LIBRARIES} ) +INSTALL(TARGETS MeshDriverSTL EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) + +INSTALL(FILES ${MeshDriverSTL_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) diff --git a/src/DriverUNV/CMakeLists.txt b/src/DriverUNV/CMakeLists.txt index 58166ef28..4e3c0c7ee 100644 --- a/src/DriverUNV/CMakeLists.txt +++ b/src/DriverUNV/CMakeLists.txt @@ -1,84 +1,83 @@ -# Copyright (C) 2012-2024 CEA, EDF, OPEN CASCADE -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# - -# --- options --- -# additional include directories -INCLUDE_DIRECTORIES( - ${KERNEL_INCLUDE_DIRS} - ${OpenCASCADE_INCLUDE_DIR} - ${Boost_INCLUDE_DIRS} - ${PROJECT_SOURCE_DIR}/src/Driver - ${PROJECT_SOURCE_DIR}/src/SMDS - ${PROJECT_SOURCE_DIR}/src/SMESHUtils - ${PROJECT_SOURCE_DIR}/src/SMESHDS -) - -# additional preprocessor / compiler flags -ADD_DEFINITIONS( - ${OpenCASCADE_DEFINITIONS} - ${BOOST_DEFINITIONS} -) - -# libraries to link to -SET(_link_LIBRARIES - ${OpenCASCADE_KERNEL} - ${KERNEL_SALOMEBasics} - MeshDriver -) - -SET(_link_LIBRARIES_bin - ${KERNEL_OpUtil} - ${KERNEL_SALOMELocalTrace} - ${KERNEL_SALOMEBasics} - ${KERNEL_SalomeIDLKERNEL} - MeshDriver - SMDS -) - -# --- headers --- - -# header files / no moc processing -SET(MeshDriverUNV_HEADERS - DriverUNV_R_SMDS_Mesh.h - DriverUNV_W_SMDS_Mesh.h - SMESH_DriverUNV.hxx -) - -# --- sources --- - -# sources / static -SET(MeshDriverUNV_SOURCES - DriverUNV_R_SMDS_Mesh.cxx - DriverUNV_W_SMDS_Mesh.cxx - UNV_Utilities.cxx - UNV164_Structure.cxx - UNV2411_Structure.cxx - UNV2412_Structure.cxx - UNV2420_Structure.cxx - UNV2417_Structure.cxx - -) - -# --- rules --- - -ADD_LIBRARY(MeshDriverUNV ${MeshDriverUNV_SOURCES}) -TARGET_LINK_LIBRARIES(MeshDriverUNV ${_link_LIBRARIES} ) -INSTALL(TARGETS MeshDriverUNV EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) - -INSTALL(FILES ${MeshDriverUNV_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) +# Copyright (C) 2012-2024 CEA, EDF, OPEN CASCADE +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# + +# --- options --- +# additional include directories +INCLUDE_DIRECTORIES( + ${KERNEL_INCLUDE_DIRS} + ${OpenCASCADE_INCLUDE_DIR} + ${Boost_INCLUDE_DIRS} + ${PROJECT_SOURCE_DIR}/src/Driver + ${PROJECT_SOURCE_DIR}/src/SMDS + ${PROJECT_SOURCE_DIR}/src/SMESHUtils + ${PROJECT_SOURCE_DIR}/src/SMESHDS +) + +# additional preprocessor / compiler flags +ADD_DEFINITIONS( + ${OpenCASCADE_DEFINITIONS} + ${BOOST_DEFINITIONS} +) + +# libraries to link to +SET(_link_LIBRARIES + ${OpenCASCADE_KERNEL} + ${KERNEL_SALOMEBasics} + MeshDriver +) + +SET(_link_LIBRARIES_bin + SALOMELocalTrace + ${KERNEL_SALOMEBasics} + ${KERNEL_SalomeIDLKERNEL} + MeshDriver + SMDS +) + +# --- headers --- + +# header files / no moc processing +SET(MeshDriverUNV_HEADERS + DriverUNV_R_SMDS_Mesh.h + DriverUNV_W_SMDS_Mesh.h + SMESH_DriverUNV.hxx +) + +# --- sources --- + +# sources / static +SET(MeshDriverUNV_SOURCES + DriverUNV_R_SMDS_Mesh.cxx + DriverUNV_W_SMDS_Mesh.cxx + UNV_Utilities.cxx + UNV164_Structure.cxx + UNV2411_Structure.cxx + UNV2412_Structure.cxx + UNV2420_Structure.cxx + UNV2417_Structure.cxx + +) + +# --- rules --- + +ADD_LIBRARY(MeshDriverUNV ${MeshDriverUNV_SOURCES}) +TARGET_LINK_LIBRARIES(MeshDriverUNV ${_link_LIBRARIES} ) +INSTALL(TARGETS MeshDriverUNV EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) + +INSTALL(FILES ${MeshDriverUNV_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) diff --git a/src/MEDWrapper/CMakeLists.txt b/src/MEDWrapper/CMakeLists.txt index c188ff5b3..1d2b70b5f 100644 --- a/src/MEDWrapper/CMakeLists.txt +++ b/src/MEDWrapper/CMakeLists.txt @@ -1,89 +1,89 @@ -# Copyright (C) 2012-2024 CEA, EDF, OPEN CASCADE -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# - -# --- options --- -# additional include directories -INCLUDE_DIRECTORIES( - ${Boost_INCLUDE_DIRS} - ${HDF5_INCLUDE_DIRS} - ${MEDFILE_INCLUDE_DIRS} - ${KERNEL_INCLUDE_DIRS} - ${MEDCOUPLING_INCLUDE_DIRS} -) - -# additional preprocessor / compiler flags -ADD_DEFINITIONS( - ${BOOST_DEFINITIONS} - ${HDF5_DEFINITIONS} -) - -SET(_link_LIBRARIES - ${Boost_LIBRARIES} - ${HDF5_LIBS} - ${MEDFILE_C_LIBRARIES} - ${KERNEL_SALOMELocalTrace} - ${MEDCoupling_medloader} -) - -# --- headers --- - -# header files / no moc processing -SET(MEDWrapper_HEADERS - MED_Algorithm.hxx - MED_Common.hxx - MED_CoordUtils.hxx - MED_Factory.hxx - MED_GaussDef.hxx - MED_GaussUtils.hxx - MED_SharedPtr.hxx - MED_SliceArray.hxx - MED_Structures.hxx - MED_TStructures.hxx - MED_Utilities.hxx - MED_Vector.hxx - MED_Wrapper.hxx - MED_WrapperDef.hxx -) - -# --- sources --- - -# sources / static -SET(MEDWrapper_SOURCES - MED_Algorithm.cxx - MED_Common.cxx - MED_CoordUtils.cxx - MED_Factory.cxx - MED_GaussDef.cxx - MED_GaussUtils.cxx - MED_Structures.cxx - MED_Utilities.cxx - MED_Wrapper.cxx -) - -# --- rules --- - -ADD_LIBRARY(MEDWrapper ${MEDWrapper_SOURCES}) -TARGET_LINK_LIBRARIES(MEDWrapper ${_link_LIBRARIES}) -INSTALL(TARGETS MEDWrapper EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) - -ADD_EXECUTABLE(mprint_version mprint_version.cxx) -TARGET_LINK_LIBRARIES(mprint_version ${MEDFILE_C_LIBRARIES}) -INSTALL(TARGETS mprint_version EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_BINS}) - -INSTALL(FILES ${MEDWrapper_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) +# Copyright (C) 2012-2024 CEA, EDF, OPEN CASCADE +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# + +# --- options --- +# additional include directories +INCLUDE_DIRECTORIES( + ${Boost_INCLUDE_DIRS} + ${HDF5_INCLUDE_DIRS} + ${MEDFILE_INCLUDE_DIRS} + ${KERNEL_INCLUDE_DIRS} + ${MEDCOUPLING_INCLUDE_DIRS} +) + +# additional preprocessor / compiler flags +ADD_DEFINITIONS( + ${BOOST_DEFINITIONS} + ${HDF5_DEFINITIONS} +) + +SET(_link_LIBRARIES + ${Boost_LIBRARIES} + ${HDF5_LIBS} + ${MEDFILE_C_LIBRARIES} + SALOMELocalTrace + ${MEDCoupling_medloader} +) + +# --- headers --- + +# header files / no moc processing +SET(MEDWrapper_HEADERS + MED_Algorithm.hxx + MED_Common.hxx + MED_CoordUtils.hxx + MED_Factory.hxx + MED_GaussDef.hxx + MED_GaussUtils.hxx + MED_SharedPtr.hxx + MED_SliceArray.hxx + MED_Structures.hxx + MED_TStructures.hxx + MED_Utilities.hxx + MED_Vector.hxx + MED_Wrapper.hxx + MED_WrapperDef.hxx +) + +# --- sources --- + +# sources / static +SET(MEDWrapper_SOURCES + MED_Algorithm.cxx + MED_Common.cxx + MED_CoordUtils.cxx + MED_Factory.cxx + MED_GaussDef.cxx + MED_GaussUtils.cxx + MED_Structures.cxx + MED_Utilities.cxx + MED_Wrapper.cxx +) + +# --- rules --- + +ADD_LIBRARY(MEDWrapper ${MEDWrapper_SOURCES}) +TARGET_LINK_LIBRARIES(MEDWrapper ${_link_LIBRARIES}) +INSTALL(TARGETS MEDWrapper EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) + +ADD_EXECUTABLE(mprint_version mprint_version.cxx) +TARGET_LINK_LIBRARIES(mprint_version ${MEDFILE_C_LIBRARIES}) +INSTALL(TARGETS mprint_version EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_BINS}) + +INSTALL(FILES ${MEDWrapper_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) diff --git a/src/PluginUtils/CMakeLists.txt b/src/PluginUtils/CMakeLists.txt index 4cd3fcd11..b5077b5da 100644 --- a/src/PluginUtils/CMakeLists.txt +++ b/src/PluginUtils/CMakeLists.txt @@ -1,86 +1,86 @@ -# Copyright (C) 2012-2024 CEA, EDF, OPEN CASCADE -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# - -# --- options --- -# additional include directories -INCLUDE_DIRECTORIES( - ${QT_INCLUDES} - ${OpenCASCADE_INCLUDE_DIR} - ${PYTHON_INCLUDE_DIRS} - ${KERNEL_INCLUDE_DIRS} - ${GUI_INCLUDE_DIRS} - ${GEOM_INCLUDE_DIRS} - ${MEDFILE_INCLUDE_DIRS} - ${Boost_INCLUDE_DIRS} - ${OMNIORB_INCLUDE_DIR} - ${PROJECT_SOURCE_DIR}/src/SMESHGUI - ${PROJECT_BINARY_DIR}/idl -) - -# additional preprocessor / compiler flags -ADD_DEFINITIONS( - ${QT_DEFINITIONS} - ${OpenCASCADE_DEFINITIONS} - ${BOOST_DEFINITIONS} - ${OMNIORB_DEFINITIONS} -) - -# libraries to link to -SET(_link_LIBRARIES - ${KERNEL_SalomeIDLKernel} - ${KERNEL_SALOMELocalTrace} - ${KERNEL_SalomeLifeCycleCORBA} - ${OpenCASCADE_ModelingData_LIBRARIES} - ${OpenCASCADE_Visualization_LIBRARIES} - ${QT_LIBRARIES} - ${QT_MT_LIBS} - ${GUI_SalomeObject} - ${GUI_suit} - SalomeIDLSMESH - SMESH -) - -# --- headers --- - -# header files / to be processed by moc -SET(PluginUtils_HEADERS - GeomSelectionTools.h - SMESH_PluginUtils.h - SMESH_AdvOptionsWdg.h -) - -# --- sources --- - -# sources / moc wrappings -QT_WRAP_MOC(_moc_SOURCES SMESH_AdvOptionsWdg.h) - -# sources / static -SET(PluginUtils_SOURCES - GeomSelectionTools.cxx - SMESH_AdvOptionsWdg.cxx - ${_moc_SOURCES} -) - -# --- rules --- - -ADD_LIBRARY(PluginUtils ${PluginUtils_SOURCES}) -TARGET_LINK_LIBRARIES(PluginUtils ${_link_LIBRARIES} ) -INSTALL(TARGETS PluginUtils EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) - -INSTALL(FILES ${PluginUtils_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) +# Copyright (C) 2012-2024 CEA, EDF, OPEN CASCADE +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# + +# --- options --- +# additional include directories +INCLUDE_DIRECTORIES( + ${QT_INCLUDES} + ${OpenCASCADE_INCLUDE_DIR} + ${PYTHON_INCLUDE_DIRS} + ${KERNEL_INCLUDE_DIRS} + ${GUI_INCLUDE_DIRS} + ${GEOM_INCLUDE_DIRS} + ${MEDFILE_INCLUDE_DIRS} + ${Boost_INCLUDE_DIRS} + ${OMNIORB_INCLUDE_DIR} + ${PROJECT_SOURCE_DIR}/src/SMESHGUI + ${PROJECT_BINARY_DIR}/idl +) + +# additional preprocessor / compiler flags +ADD_DEFINITIONS( + ${QT_DEFINITIONS} + ${OpenCASCADE_DEFINITIONS} + ${BOOST_DEFINITIONS} + ${OMNIORB_DEFINITIONS} +) + +# libraries to link to +SET(_link_LIBRARIES + ${KERNEL_SalomeIDLKernel} + SALOMELocalTrace + ${KERNEL_SalomeLifeCycleCORBA} + ${OpenCASCADE_ModelingData_LIBRARIES} + ${OpenCASCADE_Visualization_LIBRARIES} + ${QT_LIBRARIES} + ${QT_MT_LIBS} + ${GUI_SalomeObject} + ${GUI_suit} + SalomeIDLSMESH + SMESH +) + +# --- headers --- + +# header files / to be processed by moc +SET(PluginUtils_HEADERS + GeomSelectionTools.h + SMESH_PluginUtils.h + SMESH_AdvOptionsWdg.h +) + +# --- sources --- + +# sources / moc wrappings +QT_WRAP_MOC(_moc_SOURCES SMESH_AdvOptionsWdg.h) + +# sources / static +SET(PluginUtils_SOURCES + GeomSelectionTools.cxx + SMESH_AdvOptionsWdg.cxx + ${_moc_SOURCES} +) + +# --- rules --- + +ADD_LIBRARY(PluginUtils ${PluginUtils_SOURCES}) +TARGET_LINK_LIBRARIES(PluginUtils ${_link_LIBRARIES} ) +INSTALL(TARGETS PluginUtils EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) + +INSTALL(FILES ${PluginUtils_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) diff --git a/src/SMDS/CMakeLists.txt b/src/SMDS/CMakeLists.txt index 198f8ec81..3b0b75e4c 100644 --- a/src/SMDS/CMakeLists.txt +++ b/src/SMDS/CMakeLists.txt @@ -1,128 +1,128 @@ -# Copyright (C) 2012-2024 CEA, EDF, OPEN CASCADE -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# - -# --- options --- -# additional include directories -INCLUDE_DIRECTORIES( - ${KERNEL_INCLUDE_DIRS} - ${Boost_INCLUDE_DIRS} -) - -# additional preprocessor / compiler flags -ADD_DEFINITIONS( - ${BOOST_DEFINITIONS} -) - -# libraries to link to -SET(_link_LIBRARIES - ${KERNEL_SALOMELocalTrace} - ${KERNEL_OpUtil} - VTK::CommonCore - VTK::CommonDataModel -) - -# --- headers --- - -# header files / no moc processing -SET(SMDS_HEADERS - ObjectPool.hxx - SMDSAbs_ElementType.hxx - SMDS_BallElement.hxx - SMDS_CellOfNodes.hxx - SMDS_Downward.hxx - SMDS_EdgePosition.hxx - SMDS_ElemIterator.hxx - SMDS_ElementFactory.hxx - SMDS_FaceOfNodes.hxx - SMDS_FacePosition.hxx - SMDS_Iterator.hxx - SMDS_IteratorOnIterators.hxx - SMDS_LinearEdge.hxx - SMDS_Mesh.hxx - SMDS_Mesh0DElement.hxx - SMDS_MeshCell.hxx - SMDS_MeshEdge.hxx - SMDS_MeshElement.hxx - SMDS_MeshFace.hxx - SMDS_MeshGroup.hxx - SMDS_MeshInfo.hxx - SMDS_MeshNode.hxx - SMDS_MeshObject.hxx - SMDS_MeshVolume.hxx - SMDS_PolygonalFaceOfNodes.hxx - SMDS_Position.hxx - SMDS_SetIterator.hxx - SMDS_SpacePosition.hxx - SMDS_StdIterator.hxx - SMDS_TypeOfPosition.hxx - SMDS_UnstructuredGrid.hxx - SMDS_VertexPosition.hxx - SMDS_VolumeOfNodes.hxx - SMDS_VolumeTool.hxx - SMDS_VtkCellIterator.hxx - SMDS_ElementHolder.hxx - SMESH_SMDS.hxx - chrono.hxx - ) - -# --- sources --- - -# sources / static -SET(SMDS_SOURCES - SMDS_BallElement.cxx - SMDS_Downward.cxx - SMDS_CellOfNodes.cxx - SMDS_ElementFactory.cxx - SMDS_FaceOfNodes.cxx - SMDS_FacePosition.cxx - SMDS_LinearEdge.cxx - SMDS_MemoryLimit.cxx - SMDS_Mesh.cxx - SMDS_MeshCell.cxx - SMDS_MeshElement.cxx - SMDS_MeshGroup.cxx - SMDS_MeshNode.cxx - SMDS_MeshObject.cxx - SMDS_MeshVolume.cxx - SMDS_PolygonalFaceOfNodes.cxx - SMDS_SpacePosition.cxx - SMDS_UnstructuredGrid.cxx - SMDS_VolumeOfNodes.cxx - SMDS_VolumeTool.cxx - SMDS_VtkCellIterator.cxx - SMDS_ElementHolder.cxx - chrono.cxx -) - -# bin programs -SET(SMDS_MemoryLimit_SOURCES - SMDS_MemoryLimit.cxx -) - -# --- rules --- - -ADD_LIBRARY(SMDS ${SMDS_SOURCES}) -TARGET_LINK_LIBRARIES(SMDS ${_link_LIBRARIES} ) -INSTALL(TARGETS SMDS EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) - -ADD_EXECUTABLE(SMDS_MemoryLimit ${SMDS_MemoryLimit_SOURCES}) -TARGET_LINK_LIBRARIES(SMDS_MemoryLimit ${_link_LIBRARIES}) -INSTALL(TARGETS SMDS_MemoryLimit EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_BINS}) - -INSTALL(FILES ${SMDS_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) +# Copyright (C) 2012-2024 CEA, EDF, OPEN CASCADE +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# + +# --- options --- +# additional include directories +INCLUDE_DIRECTORIES( + ${KERNEL_INCLUDE_DIRS} + ${Boost_INCLUDE_DIRS} +) + +# additional preprocessor / compiler flags +ADD_DEFINITIONS( + ${BOOST_DEFINITIONS} +) + +# libraries to link to +SET(_link_LIBRARIES + SALOMELocalTrace + SALOMEException + VTK::CommonCore + VTK::CommonDataModel +) + +# --- headers --- + +# header files / no moc processing +SET(SMDS_HEADERS + ObjectPool.hxx + SMDSAbs_ElementType.hxx + SMDS_BallElement.hxx + SMDS_CellOfNodes.hxx + SMDS_Downward.hxx + SMDS_EdgePosition.hxx + SMDS_ElemIterator.hxx + SMDS_ElementFactory.hxx + SMDS_FaceOfNodes.hxx + SMDS_FacePosition.hxx + SMDS_Iterator.hxx + SMDS_IteratorOnIterators.hxx + SMDS_LinearEdge.hxx + SMDS_Mesh.hxx + SMDS_Mesh0DElement.hxx + SMDS_MeshCell.hxx + SMDS_MeshEdge.hxx + SMDS_MeshElement.hxx + SMDS_MeshFace.hxx + SMDS_MeshGroup.hxx + SMDS_MeshInfo.hxx + SMDS_MeshNode.hxx + SMDS_MeshObject.hxx + SMDS_MeshVolume.hxx + SMDS_PolygonalFaceOfNodes.hxx + SMDS_Position.hxx + SMDS_SetIterator.hxx + SMDS_SpacePosition.hxx + SMDS_StdIterator.hxx + SMDS_TypeOfPosition.hxx + SMDS_UnstructuredGrid.hxx + SMDS_VertexPosition.hxx + SMDS_VolumeOfNodes.hxx + SMDS_VolumeTool.hxx + SMDS_VtkCellIterator.hxx + SMDS_ElementHolder.hxx + SMESH_SMDS.hxx + chrono.hxx + ) + +# --- sources --- + +# sources / static +SET(SMDS_SOURCES + SMDS_BallElement.cxx + SMDS_Downward.cxx + SMDS_CellOfNodes.cxx + SMDS_ElementFactory.cxx + SMDS_FaceOfNodes.cxx + SMDS_FacePosition.cxx + SMDS_LinearEdge.cxx + SMDS_MemoryLimit.cxx + SMDS_Mesh.cxx + SMDS_MeshCell.cxx + SMDS_MeshElement.cxx + SMDS_MeshGroup.cxx + SMDS_MeshNode.cxx + SMDS_MeshObject.cxx + SMDS_MeshVolume.cxx + SMDS_PolygonalFaceOfNodes.cxx + SMDS_SpacePosition.cxx + SMDS_UnstructuredGrid.cxx + SMDS_VolumeOfNodes.cxx + SMDS_VolumeTool.cxx + SMDS_VtkCellIterator.cxx + SMDS_ElementHolder.cxx + chrono.cxx +) + +# bin programs +SET(SMDS_MemoryLimit_SOURCES + SMDS_MemoryLimit.cxx +) + +# --- rules --- + +ADD_LIBRARY(SMDS ${SMDS_SOURCES}) +TARGET_LINK_LIBRARIES(SMDS ${_link_LIBRARIES} ) +INSTALL(TARGETS SMDS EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) + +ADD_EXECUTABLE(SMDS_MemoryLimit ${SMDS_MemoryLimit_SOURCES}) +TARGET_LINK_LIBRARIES(SMDS_MemoryLimit ${_link_LIBRARIES}) +INSTALL(TARGETS SMDS_MemoryLimit EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_BINS}) + +INSTALL(FILES ${SMDS_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) diff --git a/src/SMESHClient/CMakeLists.txt b/src/SMESHClient/CMakeLists.txt index 197c295fa..1b27b07f2 100644 --- a/src/SMESHClient/CMakeLists.txt +++ b/src/SMESHClient/CMakeLists.txt @@ -1,99 +1,98 @@ -# Copyright (C) 2012-2024 CEA, EDF, OPEN CASCADE -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# - -# --- options --- -# additional include directories -INCLUDE_DIRECTORIES( - ${KERNEL_INCLUDE_DIRS} - ${MEDFILE_INCLUDE_DIRS} - ${GEOM_INCLUDE_DIRS} - ${Boost_INCLUDE_DIRS} - ${OpenCASCADE_INCLUDE_DIR} - ${OMNIORB_INCLUDE_DIR} - ${MEDCOUPLING_INCLUDE_DIRS} - ${PROJECT_SOURCE_DIR}/src/Controls - ${PROJECT_SOURCE_DIR}/src/Driver - ${PROJECT_SOURCE_DIR}/src/DriverDAT - ${PROJECT_SOURCE_DIR}/src/DriverMED - ${PROJECT_SOURCE_DIR}/src/DriverUNV - ${PROJECT_SOURCE_DIR}/src/DriverSTL - ${PROJECT_SOURCE_DIR}/src/SMDS - ${PROJECT_SOURCE_DIR}/src/SMESHDS - ${PROJECT_SOURCE_DIR}/src/SMESH - ${PROJECT_SOURCE_DIR}/src/SMESHUtils - ${PROJECT_SOURCE_DIR}/src/SMESH_I - ${PROJECT_BINARY_DIR}/idl -) - -# additional preprocessor / compiler flags -ADD_DEFINITIONS( - ${OMNIORB_DEFINITIONS} - ${OpenCASCADE_DEFINITIONS} - ${BOOST_DEFINITIONS} -) - -# libraries to link to -SET(_link_LIBRARIES - ${KERNEL_SalomeLifeCycleCORBA} - ${KERNEL_SalomeNS} - ${KERNEL_OpUtil} - ${KERNEL_SALOMEBasics} - ${KERNEL_SalomeContainer} - ${KERNEL_SalomeHDFPersist} - ${KERNEL_SalomeGenericObj} - ${KERNEL_Registry} - ${KERNEL_ResourcesManager} - ${KERNEL_SalomeResourcesManager} - ${KERNEL_SalomeNotification} - ${KERNEL_SalomeIDLKERNEL} - ${KERNEL_SALOMELocalTrace} - ${GEOM_NMTDS} - ${GEOM_SalomeIDLGEOM} - ${OpenCASCADE_KERNEL} - SalomeIDLSMESH - SMDS - SMESHimpl - SMESHDS - SMESHControls - SMESHEngine - MEDWrapper -) - -# --- headers --- - -# header files / no moc processing -SET(SMESHClient_HEADERS - SMESH_Client.hxx -) - -# --- sources --- - -# sources / static -SET(SMESHClient_SOURCES - SMESH_Client.cxx -) - -# --- rules --- - -ADD_LIBRARY(SMESHClient ${SMESHClient_SOURCES}) -TARGET_LINK_LIBRARIES(SMESHClient ${_link_LIBRARIES} ) -INSTALL(TARGETS SMESHClient EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) - - -INSTALL(FILES ${SMESHClient_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) +# Copyright (C) 2012-2024 CEA, EDF, OPEN CASCADE +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# + +# --- options --- +# additional include directories +INCLUDE_DIRECTORIES( + ${KERNEL_INCLUDE_DIRS} + ${MEDFILE_INCLUDE_DIRS} + ${GEOM_INCLUDE_DIRS} + ${Boost_INCLUDE_DIRS} + ${OpenCASCADE_INCLUDE_DIR} + ${OMNIORB_INCLUDE_DIR} + ${MEDCOUPLING_INCLUDE_DIRS} + ${PROJECT_SOURCE_DIR}/src/Controls + ${PROJECT_SOURCE_DIR}/src/Driver + ${PROJECT_SOURCE_DIR}/src/DriverDAT + ${PROJECT_SOURCE_DIR}/src/DriverMED + ${PROJECT_SOURCE_DIR}/src/DriverUNV + ${PROJECT_SOURCE_DIR}/src/DriverSTL + ${PROJECT_SOURCE_DIR}/src/SMDS + ${PROJECT_SOURCE_DIR}/src/SMESHDS + ${PROJECT_SOURCE_DIR}/src/SMESH + ${PROJECT_SOURCE_DIR}/src/SMESHUtils + ${PROJECT_SOURCE_DIR}/src/SMESH_I + ${PROJECT_BINARY_DIR}/idl +) + +# additional preprocessor / compiler flags +ADD_DEFINITIONS( + ${OMNIORB_DEFINITIONS} + ${OpenCASCADE_DEFINITIONS} + ${BOOST_DEFINITIONS} +) + +# libraries to link to +SET(_link_LIBRARIES + ${KERNEL_SalomeLifeCycleCORBA} + ${KERNEL_SalomeNS} + ${KERNEL_SALOMEBasics} + ${KERNEL_SalomeContainer} + ${KERNEL_SalomeHDFPersist} + ${KERNEL_SalomeGenericObj} + ${KERNEL_Registry} + ${KERNEL_ResourcesManager} + ${KERNEL_SalomeResourcesManager} + ${KERNEL_SalomeNotification} + ${KERNEL_SalomeIDLKERNEL} + SALOMELocalTrace + ${GEOM_NMTDS} + ${GEOM_SalomeIDLGEOM} + ${OpenCASCADE_KERNEL} + SalomeIDLSMESH + SMDS + SMESHimpl + SMESHDS + SMESHControls + SMESHEngine + MEDWrapper +) + +# --- headers --- + +# header files / no moc processing +SET(SMESHClient_HEADERS + SMESH_Client.hxx +) + +# --- sources --- + +# sources / static +SET(SMESHClient_SOURCES + SMESH_Client.cxx +) + +# --- rules --- + +ADD_LIBRARY(SMESHClient ${SMESHClient_SOURCES}) +TARGET_LINK_LIBRARIES(SMESHClient ${_link_LIBRARIES} ) +INSTALL(TARGETS SMESHClient EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) + + +INSTALL(FILES ${SMESHClient_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) diff --git a/src/SMESHDS/CMakeLists.txt b/src/SMESHDS/CMakeLists.txt index 91324502d..7c662f70a 100644 --- a/src/SMESHDS/CMakeLists.txt +++ b/src/SMESHDS/CMakeLists.txt @@ -1,97 +1,97 @@ -# Copyright (C) 2012-2024 CEA, EDF, OPEN CASCADE -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# - -# --- options --- -# additional include directories - -IF(SALOME_SMESH_USE_TBB) - SET(TBB_INCLUDES ${TBB_INCLUDE_DIRS}) -ENDIF(SALOME_SMESH_USE_TBB) - -INCLUDE_DIRECTORIES( - ${KERNEL_INCLUDE_DIRS} - ${OpenCASCADE_INCLUDE_DIR} - ${Boost_INCLUDE_DIRS} - ${PROJECT_SOURCE_DIR}/src/SMDS - ${PROJECT_SOURCE_DIR}/src/SMESHUtils - ${TBB_INCLUDES} -) - -# additional preprocessor / compiler flags -ADD_DEFINITIONS( - ${OpenCASCADE_DEFINITIONS} - ${BOOST_DEFINITIONS} -) - -IF(SALOME_SMESH_USE_TBB) - SET(TBB_LIBS ${TBB_LIBRARIES}) -ENDIF(SALOME_SMESH_USE_TBB) - -# libraries to link to -SET(_link_LIBRARIES - ${OpenCASCADE_KERNEL} - ${OpenCASCADE_ModelingData_LIBRARIES} - ${KERNEL_SALOMELocalTrace} - SMDS - SMESHUtils - ${TBB_LIBS} -) - -# --- headers --- - -# header files / no moc processing -SET(SMESHDS_HEADERS - SMESHDS_Document.hxx - SMESHDS_Hypothesis.hxx - SMESHDS_Mesh.hxx - SMESHDS_Script.hxx - SMESHDS_Command.hxx - SMESHDS_CommandType.hxx - SMESHDS_SubMesh.hxx - SMESHDS_GroupBase.hxx - SMESHDS_Group.hxx - SMESHDS_GroupOnGeom.hxx - SMESHDS_GroupOnFilter.hxx - SMESH_SMESHDS.hxx - SMESH_Controls.hxx -) - -# --- sources --- - -# sources / static -SET(SMESHDS_SOURCES - SMESHDS_Document.cxx - SMESHDS_Hypothesis.cxx - SMESHDS_Script.cxx - SMESHDS_Command.cxx - SMESHDS_SubMesh.cxx - SMESHDS_Mesh.cxx - SMESHDS_GroupBase.cxx - SMESHDS_Group.cxx - SMESHDS_GroupOnGeom.cxx - SMESHDS_GroupOnFilter.cxx -) - -# --- rules --- - -ADD_LIBRARY(SMESHDS ${SMESHDS_SOURCES}) -TARGET_LINK_LIBRARIES(SMESHDS ${_link_LIBRARIES} ) -INSTALL(TARGETS SMESHDS EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) - -INSTALL(FILES ${SMESHDS_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) +# Copyright (C) 2012-2024 CEA, EDF, OPEN CASCADE +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# + +# --- options --- +# additional include directories + +IF(SALOME_SMESH_USE_TBB) + SET(TBB_INCLUDES ${TBB_INCLUDE_DIRS}) +ENDIF(SALOME_SMESH_USE_TBB) + +INCLUDE_DIRECTORIES( + ${KERNEL_INCLUDE_DIRS} + ${OpenCASCADE_INCLUDE_DIR} + ${Boost_INCLUDE_DIRS} + ${PROJECT_SOURCE_DIR}/src/SMDS + ${PROJECT_SOURCE_DIR}/src/SMESHUtils + ${TBB_INCLUDES} +) + +# additional preprocessor / compiler flags +ADD_DEFINITIONS( + ${OpenCASCADE_DEFINITIONS} + ${BOOST_DEFINITIONS} +) + +IF(SALOME_SMESH_USE_TBB) + SET(TBB_LIBS ${TBB_LIBRARIES}) +ENDIF(SALOME_SMESH_USE_TBB) + +# libraries to link to +SET(_link_LIBRARIES + ${OpenCASCADE_KERNEL} + ${OpenCASCADE_ModelingData_LIBRARIES} + SALOMELocalTrace + SMDS + SMESHUtils + ${TBB_LIBS} +) + +# --- headers --- + +# header files / no moc processing +SET(SMESHDS_HEADERS + SMESHDS_Document.hxx + SMESHDS_Hypothesis.hxx + SMESHDS_Mesh.hxx + SMESHDS_Script.hxx + SMESHDS_Command.hxx + SMESHDS_CommandType.hxx + SMESHDS_SubMesh.hxx + SMESHDS_GroupBase.hxx + SMESHDS_Group.hxx + SMESHDS_GroupOnGeom.hxx + SMESHDS_GroupOnFilter.hxx + SMESH_SMESHDS.hxx + SMESH_Controls.hxx +) + +# --- sources --- + +# sources / static +SET(SMESHDS_SOURCES + SMESHDS_Document.cxx + SMESHDS_Hypothesis.cxx + SMESHDS_Script.cxx + SMESHDS_Command.cxx + SMESHDS_SubMesh.cxx + SMESHDS_Mesh.cxx + SMESHDS_GroupBase.cxx + SMESHDS_Group.cxx + SMESHDS_GroupOnGeom.cxx + SMESHDS_GroupOnFilter.cxx +) + +# --- rules --- + +ADD_LIBRARY(SMESHDS ${SMESHDS_SOURCES}) +TARGET_LINK_LIBRARIES(SMESHDS ${_link_LIBRARIES} ) +INSTALL(TARGETS SMESHDS EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) + +INSTALL(FILES ${SMESHDS_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) diff --git a/src/SMESH_I/CMakeLists.txt b/src/SMESH_I/CMakeLists.txt index 27189b4fd..231529108 100644 --- a/src/SMESH_I/CMakeLists.txt +++ b/src/SMESH_I/CMakeLists.txt @@ -1,160 +1,159 @@ -# Copyright (C) 2012-2024 CEA, EDF, OPEN CASCADE -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# - -# --- options --- -# additional include directories -INCLUDE_DIRECTORIES( - ${OMNIORB_INCLUDE_DIR} - ${OpenCASCADE_INCLUDE_DIR} - ${HDF5_INCLUDE_DIRS} - ${MEDFILE_INCLUDE_DIRS} - ${Boost_INCLUDE_DIRS} - ${KERNEL_INCLUDE_DIRS} - ${GUI_INCLUDE_DIRS} - ${GEOM_INCLUDE_DIRS} - ${MEDCOUPLING_INCLUDE_DIRS} - ${PROJECT_SOURCE_DIR}/src/Controls - ${PROJECT_SOURCE_DIR}/src/SMDS - ${PROJECT_SOURCE_DIR}/src/SMESHDS - ${PROJECT_SOURCE_DIR}/src/SMESH_I - ${PROJECT_SOURCE_DIR}/src/MEDWrapper - ${PROJECT_SOURCE_DIR}/src/Driver - ${PROJECT_SOURCE_DIR}/src/DriverMED - ${PROJECT_SOURCE_DIR}/src/DriverCGNS - ${PROJECT_SOURCE_DIR}/src/SMESH - ${PROJECT_SOURCE_DIR}/src/SMESHUtils - ${PROJECT_BINARY_DIR} - ${PROJECT_BINARY_DIR}/idl -) - -# additional preprocessor / compiler flags -ADD_DEFINITIONS( - ${OMNIORB_DEFINITIONS} - ${OpenCASCADE_DEFINITIONS} - ${BOOST_DEFINITIONS} -) - -IF(WIN32) - ADD_DEFINITIONS(-DNOGDI) -ENDIF(WIN32) - -# libraries to link to -SET(_link_LIBRARIES - ${Boost_LIBRARIES} - ${KERNEL_OpUtil} - ${KERNEL_SalomeNotification} - ${KERNEL_ResourcesManager} - ${KERNEL_SalomeResourcesManager} - ${KERNEL_SALOMEBasics} - ${KERNEL_SalomeContainer} - ${KERNEL_SalomeNS} - ${KERNEL_Registry} - ${KERNEL_SalomeHDFPersist} - ${KERNEL_SalomeLifeCycleCORBA} - ${KERNEL_TOOLSDS} - ${KERNEL_SalomeGenericObj} - ${KERNEL_SalomeIDLKERNEL} - ${KERNEL_SALOMELocalTrace} - ${KERNEL_SalomeKernelHelpers} - ${KERNEL_SalomeDS} - ${KERNEL_SalomeCatalog} - ${OpenCASCADE_ApplicationFramework_LIBRARIES} - ${OpenCASCADE_ModelingAlgorithms_LIBRARIES} - ${GEOM_GEOMClient} - ${GEOM_SalomeIDLGEOM} - VTK::IOLegacy - SalomeIDLSMESH - SMESHimpl - SMDS - SMESHDS - SMESHControls - MeshDriverMED -) - -# --- headers --- - -# header files / no moc processing -SET(SMESHEngine_HEADERS - SMESH_Gen_i.hxx - SMESH_Gen_No_Session_i.hxx - SMESH_Gen_Session_i.hxx - SMESH_Algo_i.hxx - SMESH_0D_Algo_i.hxx - SMESH_1D_Algo_i.hxx - SMESH_2D_Algo_i.hxx - SMESH_3D_Algo_i.hxx - SMESH_subMesh_i.hxx - SMESH_Mesh_i.hxx - SMESH_Hypothesis_i.hxx - SMESH_PythonDump.hxx - SMESH_Group_i.hxx - SMESH_Filter_i.hxx - SMESH_MeshEditor_i.hxx - SMESH_Pattern_i.hxx - SMESH_2smeshpy.hxx - SMESH_NoteBook.hxx - SMESH_Measurements_i.hxx - SMESH_PreMeshInfo.hxx - SMESH_MeshPartDS.hxx - SMESH.hxx - MG_ADAPT_i.hxx - SMESH_Homard_i.hxx - SMESH_SequentialMesh_i.hxx - SMESH_ParallelMesh_i.hxx - SMESH_Meshio.h -) - -# --- sources --- - -# sources / static -SET(SMESHEngine_SOURCES - SMESH_Gen_i.cxx - SMESH_Gen_i_1.cxx - SMESH_Gen_No_Session_i.cxx - SMESH_Gen_Session_i.cxx - SMESH_PythonDump.cxx - SMESH_Mesh_i.cxx - SMESH_subMesh_i.cxx - SMESH_MeshEditor_i.cxx - SMESH_Hypothesis_i.cxx - SMESH_Algo_i.cxx - SMESH_0D_Algo_i.cxx - SMESH_1D_Algo_i.cxx - SMESH_2D_Algo_i.cxx - SMESH_3D_Algo_i.cxx - SMESH_Filter_i.cxx - SMESH_Group_i.cxx - SMESH_Pattern_i.cxx - SMESH_2smeshpy.cxx - SMESH_NoteBook.cxx - SMESH_Measurements_i.cxx - SMESH_PreMeshInfo.cxx - MG_ADAPT_i.cxx - SMESH_Homard_i.cxx - SMESH_ParallelMesh_i.cxx - SMESH_Meshio.cxx -) - -# --- rules --- - -ADD_LIBRARY(SMESHEngine ${SMESHEngine_SOURCES}) -TARGET_LINK_LIBRARIES(SMESHEngine ${_link_LIBRARIES} ) -INSTALL(TARGETS SMESHEngine EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) - -INSTALL(FILES ${SMESHEngine_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) +# Copyright (C) 2012-2024 CEA, EDF, OPEN CASCADE +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# + +# --- options --- +# additional include directories +INCLUDE_DIRECTORIES( + ${OMNIORB_INCLUDE_DIR} + ${OpenCASCADE_INCLUDE_DIR} + ${HDF5_INCLUDE_DIRS} + ${MEDFILE_INCLUDE_DIRS} + ${Boost_INCLUDE_DIRS} + ${KERNEL_INCLUDE_DIRS} + ${GUI_INCLUDE_DIRS} + ${GEOM_INCLUDE_DIRS} + ${MEDCOUPLING_INCLUDE_DIRS} + ${PROJECT_SOURCE_DIR}/src/Controls + ${PROJECT_SOURCE_DIR}/src/SMDS + ${PROJECT_SOURCE_DIR}/src/SMESHDS + ${PROJECT_SOURCE_DIR}/src/SMESH_I + ${PROJECT_SOURCE_DIR}/src/MEDWrapper + ${PROJECT_SOURCE_DIR}/src/Driver + ${PROJECT_SOURCE_DIR}/src/DriverMED + ${PROJECT_SOURCE_DIR}/src/DriverCGNS + ${PROJECT_SOURCE_DIR}/src/SMESH + ${PROJECT_SOURCE_DIR}/src/SMESHUtils + ${PROJECT_BINARY_DIR} + ${PROJECT_BINARY_DIR}/idl +) + +# additional preprocessor / compiler flags +ADD_DEFINITIONS( + ${OMNIORB_DEFINITIONS} + ${OpenCASCADE_DEFINITIONS} + ${BOOST_DEFINITIONS} +) + +IF(WIN32) + ADD_DEFINITIONS(-DNOGDI) +ENDIF(WIN32) + +# libraries to link to +SET(_link_LIBRARIES + ${Boost_LIBRARIES} + ${KERNEL_SalomeNotification} + ${KERNEL_ResourcesManager} + ${KERNEL_SalomeResourcesManager} + ${KERNEL_SALOMEBasics} + ${KERNEL_SalomeContainer} + ${KERNEL_SalomeNS} + ${KERNEL_Registry} + ${KERNEL_SalomeHDFPersist} + ${KERNEL_SalomeLifeCycleCORBA} + ${KERNEL_TOOLSDS} + ${KERNEL_SalomeGenericObj} + ${KERNEL_SalomeIDLKERNEL} + SALOMELocalTrace + ${KERNEL_SalomeKernelHelpers} + ${KERNEL_SalomeDS} + ${KERNEL_SalomeCatalog} + ${OpenCASCADE_ApplicationFramework_LIBRARIES} + ${OpenCASCADE_ModelingAlgorithms_LIBRARIES} + ${GEOM_GEOMClient} + ${GEOM_SalomeIDLGEOM} + VTK::IOLegacy + SalomeIDLSMESH + SMESHimpl + SMDS + SMESHDS + SMESHControls + MeshDriverMED +) + +# --- headers --- + +# header files / no moc processing +SET(SMESHEngine_HEADERS + SMESH_Gen_i.hxx + SMESH_Gen_No_Session_i.hxx + SMESH_Gen_Session_i.hxx + SMESH_Algo_i.hxx + SMESH_0D_Algo_i.hxx + SMESH_1D_Algo_i.hxx + SMESH_2D_Algo_i.hxx + SMESH_3D_Algo_i.hxx + SMESH_subMesh_i.hxx + SMESH_Mesh_i.hxx + SMESH_Hypothesis_i.hxx + SMESH_PythonDump.hxx + SMESH_Group_i.hxx + SMESH_Filter_i.hxx + SMESH_MeshEditor_i.hxx + SMESH_Pattern_i.hxx + SMESH_2smeshpy.hxx + SMESH_NoteBook.hxx + SMESH_Measurements_i.hxx + SMESH_PreMeshInfo.hxx + SMESH_MeshPartDS.hxx + SMESH.hxx + MG_ADAPT_i.hxx + SMESH_Homard_i.hxx + SMESH_SequentialMesh_i.hxx + SMESH_ParallelMesh_i.hxx + SMESH_Meshio.h +) + +# --- sources --- + +# sources / static +SET(SMESHEngine_SOURCES + SMESH_Gen_i.cxx + SMESH_Gen_i_1.cxx + SMESH_Gen_No_Session_i.cxx + SMESH_Gen_Session_i.cxx + SMESH_PythonDump.cxx + SMESH_Mesh_i.cxx + SMESH_subMesh_i.cxx + SMESH_MeshEditor_i.cxx + SMESH_Hypothesis_i.cxx + SMESH_Algo_i.cxx + SMESH_0D_Algo_i.cxx + SMESH_1D_Algo_i.cxx + SMESH_2D_Algo_i.cxx + SMESH_3D_Algo_i.cxx + SMESH_Filter_i.cxx + SMESH_Group_i.cxx + SMESH_Pattern_i.cxx + SMESH_2smeshpy.cxx + SMESH_NoteBook.cxx + SMESH_Measurements_i.cxx + SMESH_PreMeshInfo.cxx + MG_ADAPT_i.cxx + SMESH_Homard_i.cxx + SMESH_ParallelMesh_i.cxx + SMESH_Meshio.cxx +) + +# --- rules --- + +ADD_LIBRARY(SMESHEngine ${SMESHEngine_SOURCES}) +TARGET_LINK_LIBRARIES(SMESHEngine ${_link_LIBRARIES} ) +INSTALL(TARGETS SMESHEngine EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) + +INSTALL(FILES ${SMESHEngine_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) diff --git a/src/SMESH_SWIG_WITHIHM/CMakeLists.txt b/src/SMESH_SWIG_WITHIHM/CMakeLists.txt index 5527e2660..eb24ce129 100644 --- a/src/SMESH_SWIG_WITHIHM/CMakeLists.txt +++ b/src/SMESH_SWIG_WITHIHM/CMakeLists.txt @@ -1,114 +1,114 @@ -# Copyright (C) 2012-2024 CEA, EDF, OPEN CASCADE -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# - -INCLUDE(${SWIG_USE_FILE}) - -# --- options --- -# additional include directories -INCLUDE_DIRECTORIES( - ${QT_INCLUDES} - ${PYTHON_INCLUDE_DIRS} - ${OpenCASCADE_INCLUDE_DIR} - ${OGL_INCLUDE_DIRS} - ${KERNEL_INCLUDE_DIRS} - ${GUI_INCLUDE_DIRS} - ${MEDFILE_INCLUDE_DIRS} - ${GEOM_INCLUDE_DIRS} - ${OMNIORB_INCLUDE_DIR} - ${Boost_INCLUDE_DIRS} - ${CMAKE_CURRENT_SOURCE_DIR} - ${PROJECT_SOURCE_DIR}/src/SMESHGUI - ${PROJECT_SOURCE_DIR}/src/OBJECT - ${PROJECT_SOURCE_DIR}/src/SMESHDS - ${PROJECT_SOURCE_DIR}/src/SMDS - ${PROJECT_BINARY_DIR}/idl -) - -# additional preprocessor / compiler flags -ADD_DEFINITIONS( - ${OpenCASCADE_DEFINITIONS} - ${OMNIORB_DEFINITIONS} - ${PYTHON_DEFINITIONS} -) - -# libraries to link to -SET(_link_LIBRARIES - ${KERNEL_SalomeGenericObj} - ${KERNEL_SALOMELocalTrace} - ${KERNEL_SalomeKernelHelpers} - ${GUI_CAM} - ${GUI_suit} - ${GUI_qtx} - ${GUI_std} - ${GUI_Event} - SMESH -) - -# --- headers --- - -# header files / to be processed by moc -SET(SMESH_Swig_HEADERS - libSMESH_Swig.h - libSMESH_Swig.i -) - -# --- sources --- - -# sources / static -SET(SMESH_Swig_SOURCES - libSMESH_Swig.cxx - ${SMESH_Swig_HEADERS} -) - -# workaround about SWIG_ADD_MODULE bug: remove duplicates in include directories -GET_DIRECTORY_PROPERTY(_cmake_include_directories INCLUDE_DIRECTORIES) -LIST(REMOVE_DUPLICATES _cmake_include_directories) -SET_DIRECTORY_PROPERTIES(PROPERTIES INCLUDE_DIRECTORIES "${_cmake_include_directories}") - -# swig flags -SET_SOURCE_FILES_PROPERTIES(libSMESH_Swig.i PROPERTIES CPLUSPLUS ON) -SET_SOURCE_FILES_PROPERTIES(libSMESH_Swig.i PROPERTIES SWIG_FLAGS "-py3") -SET_SOURCE_FILES_PROPERTIES(libSMESH_swig_wrap.cpp PROPERTIES COMPILE_FLAGS "-DHAVE_CONFIG_H") - -# --- scripts --- - -# scripts / swig wrappings -SET(_swig_SCRIPTS - ${CMAKE_CURRENT_BINARY_DIR}/libSMESH_Swig.py -) - -# --- rules --- -IF(${CMAKE_VERSION} VERSION_LESS "3.8.0") - SWIG_ADD_MODULE(libSMESH_Swig python ${SMESH_Swig_SOURCES}) -ELSE() - SWIG_ADD_LIBRARY(libSMESH_Swig LANGUAGE python SOURCES ${SMESH_Swig_SOURCES}) -ENDIF() - - -SWIG_LINK_LIBRARIES(libSMESH_Swig ${_link_LIBRARIES}) -SWIG_CHECK_GENERATION(libSMESH_Swig) -IF(WIN32) - SET_TARGET_PROPERTIES(_libSMESH_Swig PROPERTIES DEBUG_OUTPUT_NAME _libSMESH_Swig_d) -ENDIF(WIN32) - -INSTALL(TARGETS _libSMESH_Swig DESTINATION ${SALOME_INSTALL_LIBS}) - -INSTALL(FILES ${SMESH_Swig_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) - -SALOME_INSTALL_SCRIPTS("${_swig_SCRIPTS}" ${SALOME_INSTALL_BINS} EXTRA_DPYS "${SWIG_MODULE_libSMESH_Swig_REAL_NAME}") +# Copyright (C) 2012-2024 CEA, EDF, OPEN CASCADE +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# + +INCLUDE(${SWIG_USE_FILE}) + +# --- options --- +# additional include directories +INCLUDE_DIRECTORIES( + ${QT_INCLUDES} + ${PYTHON_INCLUDE_DIRS} + ${OpenCASCADE_INCLUDE_DIR} + ${OGL_INCLUDE_DIRS} + ${KERNEL_INCLUDE_DIRS} + ${GUI_INCLUDE_DIRS} + ${MEDFILE_INCLUDE_DIRS} + ${GEOM_INCLUDE_DIRS} + ${OMNIORB_INCLUDE_DIR} + ${Boost_INCLUDE_DIRS} + ${CMAKE_CURRENT_SOURCE_DIR} + ${PROJECT_SOURCE_DIR}/src/SMESHGUI + ${PROJECT_SOURCE_DIR}/src/OBJECT + ${PROJECT_SOURCE_DIR}/src/SMESHDS + ${PROJECT_SOURCE_DIR}/src/SMDS + ${PROJECT_BINARY_DIR}/idl +) + +# additional preprocessor / compiler flags +ADD_DEFINITIONS( + ${OpenCASCADE_DEFINITIONS} + ${OMNIORB_DEFINITIONS} + ${PYTHON_DEFINITIONS} +) + +# libraries to link to +SET(_link_LIBRARIES + ${KERNEL_SalomeGenericObj} + SALOMELocalTrace + ${KERNEL_SalomeKernelHelpers} + ${GUI_CAM} + ${GUI_suit} + ${GUI_qtx} + ${GUI_std} + ${GUI_Event} + SMESH +) + +# --- headers --- + +# header files / to be processed by moc +SET(SMESH_Swig_HEADERS + libSMESH_Swig.h + libSMESH_Swig.i +) + +# --- sources --- + +# sources / static +SET(SMESH_Swig_SOURCES + libSMESH_Swig.cxx + ${SMESH_Swig_HEADERS} +) + +# workaround about SWIG_ADD_MODULE bug: remove duplicates in include directories +GET_DIRECTORY_PROPERTY(_cmake_include_directories INCLUDE_DIRECTORIES) +LIST(REMOVE_DUPLICATES _cmake_include_directories) +SET_DIRECTORY_PROPERTIES(PROPERTIES INCLUDE_DIRECTORIES "${_cmake_include_directories}") + +# swig flags +SET_SOURCE_FILES_PROPERTIES(libSMESH_Swig.i PROPERTIES CPLUSPLUS ON) +SET_SOURCE_FILES_PROPERTIES(libSMESH_Swig.i PROPERTIES SWIG_FLAGS "-py3") +SET_SOURCE_FILES_PROPERTIES(libSMESH_swig_wrap.cpp PROPERTIES COMPILE_FLAGS "-DHAVE_CONFIG_H") + +# --- scripts --- + +# scripts / swig wrappings +SET(_swig_SCRIPTS + ${CMAKE_CURRENT_BINARY_DIR}/libSMESH_Swig.py +) + +# --- rules --- +IF(${CMAKE_VERSION} VERSION_LESS "3.8.0") + SWIG_ADD_MODULE(libSMESH_Swig python ${SMESH_Swig_SOURCES}) +ELSE() + SWIG_ADD_LIBRARY(libSMESH_Swig LANGUAGE python SOURCES ${SMESH_Swig_SOURCES}) +ENDIF() + + +SWIG_LINK_LIBRARIES(libSMESH_Swig ${_link_LIBRARIES}) +SWIG_CHECK_GENERATION(libSMESH_Swig) +IF(WIN32) + SET_TARGET_PROPERTIES(_libSMESH_Swig PROPERTIES DEBUG_OUTPUT_NAME _libSMESH_Swig_d) +ENDIF(WIN32) + +INSTALL(TARGETS _libSMESH_Swig DESTINATION ${SALOME_INSTALL_LIBS}) + +INSTALL(FILES ${SMESH_Swig_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) + +SALOME_INSTALL_SCRIPTS("${_swig_SCRIPTS}" ${SALOME_INSTALL_BINS} EXTRA_DPYS "${SWIG_MODULE_libSMESH_Swig_REAL_NAME}") diff --git a/src/StdMeshers/CMakeLists.txt b/src/StdMeshers/CMakeLists.txt index dbe8eda57..bb0ad34b5 100644 --- a/src/StdMeshers/CMakeLists.txt +++ b/src/StdMeshers/CMakeLists.txt @@ -1,207 +1,206 @@ -# Copyright (C) 2012-2024 CEA, EDF, OPEN CASCADE -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# - -# --- options --- -# additional include directories - -IF(SALOME_SMESH_USE_TBB) - SET(TBB_INCLUDES ${TBB_INCLUDE_DIRS}) -ENDIF(SALOME_SMESH_USE_TBB) - -INCLUDE_DIRECTORIES( - ${OpenCASCADE_INCLUDE_DIR} - ${Boost_INCLUDE_DIRS} - ${KERNEL_INCLUDE_DIRS} - ${GEOM_INCLUDE_DIRS} - ${MEDCOUPLING_INCLUDE_DIRS} - ${PROJECT_SOURCE_DIR}/src/SMESHUtils - ${PROJECT_SOURCE_DIR}/src/SMESH - ${PROJECT_SOURCE_DIR}/src/SMESHDS - ${PROJECT_SOURCE_DIR}/src/SMDS - ${PROJECT_SOURCE_DIR}/src/Controls - ${TBB_INCLUDES} -) - -# additional preprocessor / compiler flags -ADD_DEFINITIONS( - ${OpenCASCADE_DEFINITIONS} - ${BOOST_DEFINITIONS} -) - -IF(SALOME_SMESH_USE_TBB) - SET(TBB_LIBS ${TBB_LIBRARIES}) -ENDIF(SALOME_SMESH_USE_TBB) - -# libraries to link to -SET(_link_LIBRARIES - ${KERNEL_SALOMELocalTrace} - ${KERNEL_OpUtil} - ${OpenCASCADE_ModelingAlgorithms_LIBRARIES} - ${OpenCASCADE_ModelingData_LIBRARIES} - ${GEOM_GEOMUtils} - SMESHimpl - SMESHDS - SMESHUtils - ${TBB_LIBS} - ${Boost_LIBRARIES} -) - -# --- headers --- - -# header files / no moc processing -SET(StdMeshers_HEADERS - StdMeshers_LocalLength.hxx - StdMeshers_Reversible1D.hxx - StdMeshers_StartEndLength.hxx - StdMeshers_Arithmetic1D.hxx - StdMeshers_Geometric1D.hxx - StdMeshers_FixedPoints1D.hxx - StdMeshers_NumberOfSegments.hxx - StdMeshers_Deflection1D.hxx - StdMeshers_Propagation.hxx - StdMeshers_LengthFromEdges.hxx - StdMeshers_MaxElementArea.hxx - StdMeshers_MaxElementVolume.hxx - StdMeshers_NotConformAllowed.hxx - StdMeshers_Regular_1D.hxx - StdMeshers_Quadrangle_2D.hxx - StdMeshers_Hexa_3D.hxx - StdMeshers_Penta_3D.hxx - StdMeshers_AutomaticLength.hxx - StdMeshers_Distribution.hxx - StdMeshers_QuadranglePreference.hxx - StdMeshers_QuadraticMesh.hxx - StdMeshers_NumberOfLayers.hxx - StdMeshers_NumberOfLayers2D.hxx - StdMeshers_Prism_3D.hxx - StdMeshers_ProjectionSource1D.hxx - StdMeshers_ProjectionSource2D.hxx - StdMeshers_ProjectionSource3D.hxx - StdMeshers_Projection_1D.hxx - StdMeshers_Projection_2D.hxx - StdMeshers_Projection_3D.hxx - StdMeshers_RadialPrism_3D.hxx - StdMeshers_ProjectionUtils.hxx - StdMeshers_LayerDistribution.hxx - StdMeshers_LayerDistribution2D.hxx - StdMeshers_SegmentAroundVertex_0D.hxx - StdMeshers_SegmentLengthAroundVertex.hxx - StdMeshers_FaceSide.hxx - StdMeshers_CompositeSegment_1D.hxx - StdMeshers_UseExisting_1D2D.hxx - StdMeshers_QuadToTriaAdaptor.hxx - SMESH_StdMeshers.hxx - StdMeshers_CompositeHexa_3D.hxx - StdMeshers_MaxLength.hxx - StdMeshers_QuadrangleParams.hxx - StdMeshers_RadialQuadrangle_1D2D.hxx - StdMeshers_HexaFromSkin_3D.hxx - StdMeshers_ImportSource.hxx - StdMeshers_Import_1D.hxx - StdMeshers_Import_1D2D.hxx - StdMeshers_ViscousLayers.hxx - StdMeshers_ViscousLayers2D.hxx - StdMeshers_Projection_1D2D.hxx - StdMeshers_CartesianParameters3D.hxx - StdMeshers_Cartesian_3D_Grid.hxx - StdMeshers_Cartesian_3D_Hexahedron.hxx - StdMeshers_Cartesian_3D.hxx - StdMeshers_Cartesian_VL.hxx - StdMeshers_QuadFromMedialAxis_1D2D.hxx - StdMeshers_PolygonPerFace_2D.hxx - StdMeshers_PolyhedronPerSolid_3D.hxx - StdMeshers_BlockRenumber.hxx - StdMeshers_ViscousLayerBuilder.hxx -) - -# --- sources --- - -# sources / static -SET(StdMeshers_SOURCES - StdMeshers_LocalLength.cxx - StdMeshers_Reversible1D.cxx - StdMeshers_StartEndLength.cxx - StdMeshers_Arithmetic1D.cxx - StdMeshers_Geometric1D.cxx - StdMeshers_FixedPoints1D.cxx - StdMeshers_NumberOfSegments.cxx - StdMeshers_Deflection1D.cxx - StdMeshers_Propagation.cxx - StdMeshers_LengthFromEdges.cxx - StdMeshers_MaxElementArea.cxx - StdMeshers_MaxElementVolume.cxx - StdMeshers_NotConformAllowed.cxx - StdMeshers_Regular_1D.cxx - StdMeshers_Quadrangle_2D.cxx - StdMeshers_Penta_3D.cxx - StdMeshers_Hexa_3D.cxx - StdMeshers_AutomaticLength.cxx - StdMeshers_Distribution.cxx - StdMeshers_QuadranglePreference.cxx - StdMeshers_QuadraticMesh.cxx - StdMeshers_NumberOfLayers.cxx - StdMeshers_NumberOfLayers2D.cxx - StdMeshers_Prism_3D.cxx - StdMeshers_ProjectionSource1D.cxx - StdMeshers_ProjectionSource2D.cxx - StdMeshers_ProjectionSource3D.cxx - StdMeshers_Projection_1D.cxx - StdMeshers_Projection_2D.cxx - StdMeshers_Projection_3D.cxx - StdMeshers_RadialPrism_3D.cxx - StdMeshers_ProjectionUtils.cxx - StdMeshers_LayerDistribution.cxx - StdMeshers_LayerDistribution2D.cxx - StdMeshers_SegmentAroundVertex_0D.cxx - StdMeshers_SegmentLengthAroundVertex.cxx - StdMeshers_FaceSide.cxx - StdMeshers_CompositeSegment_1D.cxx - StdMeshers_UseExisting_1D2D.cxx - StdMeshers_QuadToTriaAdaptor.cxx - StdMeshers_CompositeHexa_3D.cxx - StdMeshers_MaxLength.cxx - StdMeshers_QuadrangleParams.cxx - StdMeshers_RadialQuadrangle_1D2D.cxx - StdMeshers_HexaFromSkin_3D.cxx - StdMeshers_ImportSource.cxx - StdMeshers_Import_1D.cxx - StdMeshers_Import_1D2D.cxx - StdMeshers_ViscousLayers.cxx - StdMeshers_ViscousLayers2D.cxx - StdMeshers_Projection_1D2D.cxx - StdMeshers_CartesianParameters3D.cxx - StdMeshers_Cartesian_3D_Grid.cxx - StdMeshers_Cartesian_3D_Hexahedron.cxx - StdMeshers_Cartesian_3D.cxx - StdMeshers_Cartesian_VL.cxx - StdMeshers_Adaptive1D.cxx - StdMeshers_QuadFromMedialAxis_1D2D.cxx - StdMeshers_PolygonPerFace_2D.cxx - StdMeshers_PolyhedronPerSolid_3D.cxx - StdMeshers_BlockRenumber.cxx - StdMeshers_ViscousLayerBuilder.cxx -) - -# --- rules --- - -ADD_LIBRARY(StdMeshers ${StdMeshers_SOURCES}) -TARGET_LINK_LIBRARIES(StdMeshers ${_link_LIBRARIES} ) -INSTALL(TARGETS StdMeshers EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) - -INSTALL(FILES ${StdMeshers_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) +# Copyright (C) 2012-2024 CEA, EDF, OPEN CASCADE +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# + +# --- options --- +# additional include directories + +IF(SALOME_SMESH_USE_TBB) + SET(TBB_INCLUDES ${TBB_INCLUDE_DIRS}) +ENDIF(SALOME_SMESH_USE_TBB) + +INCLUDE_DIRECTORIES( + ${OpenCASCADE_INCLUDE_DIR} + ${Boost_INCLUDE_DIRS} + ${KERNEL_INCLUDE_DIRS} + ${GEOM_INCLUDE_DIRS} + ${MEDCOUPLING_INCLUDE_DIRS} + ${PROJECT_SOURCE_DIR}/src/SMESHUtils + ${PROJECT_SOURCE_DIR}/src/SMESH + ${PROJECT_SOURCE_DIR}/src/SMESHDS + ${PROJECT_SOURCE_DIR}/src/SMDS + ${PROJECT_SOURCE_DIR}/src/Controls + ${TBB_INCLUDES} +) + +# additional preprocessor / compiler flags +ADD_DEFINITIONS( + ${OpenCASCADE_DEFINITIONS} + ${BOOST_DEFINITIONS} +) + +IF(SALOME_SMESH_USE_TBB) + SET(TBB_LIBS ${TBB_LIBRARIES}) +ENDIF(SALOME_SMESH_USE_TBB) + +# libraries to link to +SET(_link_LIBRARIES + SALOMELocalTrace + ${OpenCASCADE_ModelingAlgorithms_LIBRARIES} + ${OpenCASCADE_ModelingData_LIBRARIES} + ${GEOM_GEOMUtils} + SMESHimpl + SMESHDS + SMESHUtils + ${TBB_LIBS} + ${Boost_LIBRARIES} +) + +# --- headers --- + +# header files / no moc processing +SET(StdMeshers_HEADERS + StdMeshers_LocalLength.hxx + StdMeshers_Reversible1D.hxx + StdMeshers_StartEndLength.hxx + StdMeshers_Arithmetic1D.hxx + StdMeshers_Geometric1D.hxx + StdMeshers_FixedPoints1D.hxx + StdMeshers_NumberOfSegments.hxx + StdMeshers_Deflection1D.hxx + StdMeshers_Propagation.hxx + StdMeshers_LengthFromEdges.hxx + StdMeshers_MaxElementArea.hxx + StdMeshers_MaxElementVolume.hxx + StdMeshers_NotConformAllowed.hxx + StdMeshers_Regular_1D.hxx + StdMeshers_Quadrangle_2D.hxx + StdMeshers_Hexa_3D.hxx + StdMeshers_Penta_3D.hxx + StdMeshers_AutomaticLength.hxx + StdMeshers_Distribution.hxx + StdMeshers_QuadranglePreference.hxx + StdMeshers_QuadraticMesh.hxx + StdMeshers_NumberOfLayers.hxx + StdMeshers_NumberOfLayers2D.hxx + StdMeshers_Prism_3D.hxx + StdMeshers_ProjectionSource1D.hxx + StdMeshers_ProjectionSource2D.hxx + StdMeshers_ProjectionSource3D.hxx + StdMeshers_Projection_1D.hxx + StdMeshers_Projection_2D.hxx + StdMeshers_Projection_3D.hxx + StdMeshers_RadialPrism_3D.hxx + StdMeshers_ProjectionUtils.hxx + StdMeshers_LayerDistribution.hxx + StdMeshers_LayerDistribution2D.hxx + StdMeshers_SegmentAroundVertex_0D.hxx + StdMeshers_SegmentLengthAroundVertex.hxx + StdMeshers_FaceSide.hxx + StdMeshers_CompositeSegment_1D.hxx + StdMeshers_UseExisting_1D2D.hxx + StdMeshers_QuadToTriaAdaptor.hxx + SMESH_StdMeshers.hxx + StdMeshers_CompositeHexa_3D.hxx + StdMeshers_MaxLength.hxx + StdMeshers_QuadrangleParams.hxx + StdMeshers_RadialQuadrangle_1D2D.hxx + StdMeshers_HexaFromSkin_3D.hxx + StdMeshers_ImportSource.hxx + StdMeshers_Import_1D.hxx + StdMeshers_Import_1D2D.hxx + StdMeshers_ViscousLayers.hxx + StdMeshers_ViscousLayers2D.hxx + StdMeshers_Projection_1D2D.hxx + StdMeshers_CartesianParameters3D.hxx + StdMeshers_Cartesian_3D_Grid.hxx + StdMeshers_Cartesian_3D_Hexahedron.hxx + StdMeshers_Cartesian_3D.hxx + StdMeshers_Cartesian_VL.hxx + StdMeshers_QuadFromMedialAxis_1D2D.hxx + StdMeshers_PolygonPerFace_2D.hxx + StdMeshers_PolyhedronPerSolid_3D.hxx + StdMeshers_BlockRenumber.hxx + StdMeshers_ViscousLayerBuilder.hxx +) + +# --- sources --- + +# sources / static +SET(StdMeshers_SOURCES + StdMeshers_LocalLength.cxx + StdMeshers_Reversible1D.cxx + StdMeshers_StartEndLength.cxx + StdMeshers_Arithmetic1D.cxx + StdMeshers_Geometric1D.cxx + StdMeshers_FixedPoints1D.cxx + StdMeshers_NumberOfSegments.cxx + StdMeshers_Deflection1D.cxx + StdMeshers_Propagation.cxx + StdMeshers_LengthFromEdges.cxx + StdMeshers_MaxElementArea.cxx + StdMeshers_MaxElementVolume.cxx + StdMeshers_NotConformAllowed.cxx + StdMeshers_Regular_1D.cxx + StdMeshers_Quadrangle_2D.cxx + StdMeshers_Penta_3D.cxx + StdMeshers_Hexa_3D.cxx + StdMeshers_AutomaticLength.cxx + StdMeshers_Distribution.cxx + StdMeshers_QuadranglePreference.cxx + StdMeshers_QuadraticMesh.cxx + StdMeshers_NumberOfLayers.cxx + StdMeshers_NumberOfLayers2D.cxx + StdMeshers_Prism_3D.cxx + StdMeshers_ProjectionSource1D.cxx + StdMeshers_ProjectionSource2D.cxx + StdMeshers_ProjectionSource3D.cxx + StdMeshers_Projection_1D.cxx + StdMeshers_Projection_2D.cxx + StdMeshers_Projection_3D.cxx + StdMeshers_RadialPrism_3D.cxx + StdMeshers_ProjectionUtils.cxx + StdMeshers_LayerDistribution.cxx + StdMeshers_LayerDistribution2D.cxx + StdMeshers_SegmentAroundVertex_0D.cxx + StdMeshers_SegmentLengthAroundVertex.cxx + StdMeshers_FaceSide.cxx + StdMeshers_CompositeSegment_1D.cxx + StdMeshers_UseExisting_1D2D.cxx + StdMeshers_QuadToTriaAdaptor.cxx + StdMeshers_CompositeHexa_3D.cxx + StdMeshers_MaxLength.cxx + StdMeshers_QuadrangleParams.cxx + StdMeshers_RadialQuadrangle_1D2D.cxx + StdMeshers_HexaFromSkin_3D.cxx + StdMeshers_ImportSource.cxx + StdMeshers_Import_1D.cxx + StdMeshers_Import_1D2D.cxx + StdMeshers_ViscousLayers.cxx + StdMeshers_ViscousLayers2D.cxx + StdMeshers_Projection_1D2D.cxx + StdMeshers_CartesianParameters3D.cxx + StdMeshers_Cartesian_3D_Grid.cxx + StdMeshers_Cartesian_3D_Hexahedron.cxx + StdMeshers_Cartesian_3D.cxx + StdMeshers_Cartesian_VL.cxx + StdMeshers_Adaptive1D.cxx + StdMeshers_QuadFromMedialAxis_1D2D.cxx + StdMeshers_PolygonPerFace_2D.cxx + StdMeshers_PolyhedronPerSolid_3D.cxx + StdMeshers_BlockRenumber.cxx + StdMeshers_ViscousLayerBuilder.cxx +) + +# --- rules --- + +ADD_LIBRARY(StdMeshers ${StdMeshers_SOURCES}) +TARGET_LINK_LIBRARIES(StdMeshers ${_link_LIBRARIES} ) +INSTALL(TARGETS StdMeshers EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) + +INSTALL(FILES ${StdMeshers_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) diff --git a/src/StdMeshers_I/CMakeLists.txt b/src/StdMeshers_I/CMakeLists.txt index 3f0b1a1ba..0ea3217f7 100644 --- a/src/StdMeshers_I/CMakeLists.txt +++ b/src/StdMeshers_I/CMakeLists.txt @@ -1,182 +1,182 @@ -# Copyright (C) 2012-2024 CEA, EDF, OPEN CASCADE -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# - -# --- options --- -# additional include directories -INCLUDE_DIRECTORIES( - ${OpenCASCADE_INCLUDE_DIR} - ${HDF5_INCLUDE_DIRS} - ${KERNEL_INCLUDE_DIRS} - ${GEOM_INCLUDE_DIRS} - ${MEDFILE_INCLUDE_DIRS} - ${Boost_INCLUDE_DIRS} - ${OMNIORB_INCLUDE_DIR} - ${MEDCOUPLING_INCLUDE_DIRS} - ${PROJECT_SOURCE_DIR}/src/SMESHImpl - ${PROJECT_SOURCE_DIR}/src/SMESH - ${PROJECT_SOURCE_DIR}/src/SMESHUtils - ${PROJECT_SOURCE_DIR}/src/SMESH_I - ${PROJECT_SOURCE_DIR}/src/SMESHDS - ${PROJECT_SOURCE_DIR}/src/SMDS - ${PROJECT_SOURCE_DIR}/src/Controls - ${PROJECT_SOURCE_DIR}/src/StdMeshers - ${PROJECT_BINARY_DIR}/idl -) - -# additional preprocessor / compiler flags -ADD_DEFINITIONS( - ${OpenCASCADE_DEFINITIONS} - ${BOOST_DEFINITIONS} - ${OMNIORB_DEFINITIONS} -) - -# To avoid GetObject macro definition on WIN32 -IF(WIN32) - ADD_DEFINITIONS(-DNOGDI) -ENDIF(WIN32) - -# libraries to link to -SET(_link_LIBRARIES - ${KERNEL_SALOMELocalTrace} - ${KERNEL_SalomeGenericObj} - ${OpenCASCADE_ModelingData_LIBRARIES} - SalomeIDLSMESH - StdMeshers - SMESHEngine - SMESHimpl - SMESHDS - ${HDF5_LIBRARIES} - -) - -# --- headers --- - -# header files / no moc processing -SET(StdMeshersEngine_HEADERS - StdMeshers_LocalLength_i.hxx - StdMeshers_StartEndLength_i.hxx - StdMeshers_Arithmetic1D_i.hxx - StdMeshers_FixedPoints1D_i.hxx - StdMeshers_NumberOfSegments_i.hxx - StdMeshers_Deflection1D_i.hxx - StdMeshers_Propagation_i.hxx - StdMeshers_LengthFromEdges_i.hxx - StdMeshers_MaxElementArea_i.hxx - StdMeshers_MaxElementVolume_i.hxx - StdMeshers_NotConformAllowed_i.hxx - StdMeshers_Regular_1D_i.hxx - StdMeshers_Quadrangle_2D_i.hxx - StdMeshers_Hexa_3D_i.hxx - StdMeshers_AutomaticLength_i.hxx - StdMeshers_QuadranglePreference_i.hxx - StdMeshers_QuadraticMesh_i.hxx - StdMeshers_NumberOfLayers_i.hxx - StdMeshers_NumberOfLayers2D_i.hxx - StdMeshers_Prism_3D_i.hxx - StdMeshers_ProjectionSource1D_i.hxx - StdMeshers_ProjectionSource2D_i.hxx - StdMeshers_ProjectionSource3D_i.hxx - StdMeshers_Projection_1D_2D_3D_i.hxx - StdMeshers_ObjRefUlils.hxx - StdMeshers_LayerDistribution_i.hxx - StdMeshers_LayerDistribution2D_i.hxx - StdMeshers_CompositeSegment_1D_i.hxx - StdMeshers_SegmentAroundVertex_0D_i.hxx - StdMeshers_SegmentLengthAroundVertex_i.hxx - StdMeshers_UseExisting_1D2D_i.hxx - StdMeshers_MaxLength_i.hxx - StdMeshers_QuadrangleParams_i.hxx - StdMeshers_RadialQuadrangle_1D2D_i.hxx - SMESH_StdMeshers_I.hxx - StdMeshers_ImportSource1D_i.hxx - StdMeshers_ImportSource2D_i.hxx - StdMeshers_Import_1D_i.hxx - StdMeshers_Import_1D2D_i.hxx - StdMeshers_ViscousLayers_i.hxx - StdMeshers_ViscousLayers2D_i.hxx - StdMeshers_CartesianParameters3D_i.hxx - StdMeshers_Cartesian_3D_i.hxx - StdMeshers_PolygonPerFace_2D_i.hxx - StdMeshers_PolyhedronPerSolid_3D_i.hxx - StdMeshers_BlockRenumber_i.hxx - StdMeshers_ViscousLayerBuilder_i.hxx -) -# --- sources --- - -# sources / static -SET(StdMeshersEngine_SOURCES - StdMeshers_i.cxx - StdMeshers_LocalLength_i.cxx - StdMeshers_Reversible1D_i.cxx - StdMeshers_StartEndLength_i.cxx - StdMeshers_Arithmetic1D_i.cxx - StdMeshers_Geometric1D_i.cxx - StdMeshers_FixedPoints1D_i.cxx - StdMeshers_NumberOfSegments_i.cxx - StdMeshers_Deflection1D_i.cxx - StdMeshers_Propagation_i.cxx - StdMeshers_LengthFromEdges_i.cxx - StdMeshers_MaxElementArea_i.cxx - StdMeshers_MaxElementVolume_i.cxx - StdMeshers_NotConformAllowed_i.cxx - StdMeshers_Regular_1D_i.cxx - StdMeshers_Quadrangle_2D_i.cxx - StdMeshers_Hexa_3D_i.cxx - StdMeshers_AutomaticLength_i.cxx - StdMeshers_QuadranglePreference_i.cxx - StdMeshers_QuadraticMesh_i.cxx - StdMeshers_NumberOfLayers_i.cxx - StdMeshers_NumberOfLayers2D_i.cxx - StdMeshers_Prism_3D_i.cxx - StdMeshers_ProjectionSource1D_i.cxx - StdMeshers_ProjectionSource2D_i.cxx - StdMeshers_ProjectionSource3D_i.cxx - StdMeshers_Projection_1D_2D_3D_i.cxx - StdMeshers_ObjRefUlils.cxx - StdMeshers_LayerDistribution_i.cxx - StdMeshers_LayerDistribution2D_i.cxx - StdMeshers_CompositeSegment_1D_i.cxx - StdMeshers_SegmentAroundVertex_0D_i.cxx - StdMeshers_SegmentLengthAroundVertex_i.cxx - StdMeshers_UseExisting_1D2D_i.cxx - StdMeshers_MaxLength_i.cxx - StdMeshers_QuadrangleParams_i.cxx - StdMeshers_RadialQuadrangle_1D2D_i.cxx - StdMeshers_ImportSource1D_i.cxx - StdMeshers_ImportSource2D_i.cxx - StdMeshers_Import_1D_i.cxx - StdMeshers_Import_1D2D_i.cxx - StdMeshers_ViscousLayers_i.cxx - StdMeshers_ViscousLayers2D_i.cxx - StdMeshers_CartesianParameters3D_i.cxx - StdMeshers_Cartesian_3D_i.cxx - StdMeshers_Adaptive1D_i.cxx - StdMeshers_PolygonPerFace_2D_i.cxx - StdMeshers_PolyhedronPerSolid_3D_i.cxx - StdMeshers_BlockRenumber_i.cxx - StdMeshers_ViscousLayerBuilder_i.cxx -) - -# --- rules --- - -ADD_LIBRARY(StdMeshersEngine ${StdMeshersEngine_SOURCES}) -TARGET_LINK_LIBRARIES(StdMeshersEngine ${_link_LIBRARIES} ) -INSTALL(TARGETS StdMeshersEngine EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) - -INSTALL(FILES ${StdMeshersEngine_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) +# Copyright (C) 2012-2024 CEA, EDF, OPEN CASCADE +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# + +# --- options --- +# additional include directories +INCLUDE_DIRECTORIES( + ${OpenCASCADE_INCLUDE_DIR} + ${HDF5_INCLUDE_DIRS} + ${KERNEL_INCLUDE_DIRS} + ${GEOM_INCLUDE_DIRS} + ${MEDFILE_INCLUDE_DIRS} + ${Boost_INCLUDE_DIRS} + ${OMNIORB_INCLUDE_DIR} + ${MEDCOUPLING_INCLUDE_DIRS} + ${PROJECT_SOURCE_DIR}/src/SMESHImpl + ${PROJECT_SOURCE_DIR}/src/SMESH + ${PROJECT_SOURCE_DIR}/src/SMESHUtils + ${PROJECT_SOURCE_DIR}/src/SMESH_I + ${PROJECT_SOURCE_DIR}/src/SMESHDS + ${PROJECT_SOURCE_DIR}/src/SMDS + ${PROJECT_SOURCE_DIR}/src/Controls + ${PROJECT_SOURCE_DIR}/src/StdMeshers + ${PROJECT_BINARY_DIR}/idl +) + +# additional preprocessor / compiler flags +ADD_DEFINITIONS( + ${OpenCASCADE_DEFINITIONS} + ${BOOST_DEFINITIONS} + ${OMNIORB_DEFINITIONS} +) + +# To avoid GetObject macro definition on WIN32 +IF(WIN32) + ADD_DEFINITIONS(-DNOGDI) +ENDIF(WIN32) + +# libraries to link to +SET(_link_LIBRARIES + SALOMELocalTrace + ${KERNEL_SalomeGenericObj} + ${OpenCASCADE_ModelingData_LIBRARIES} + SalomeIDLSMESH + StdMeshers + SMESHEngine + SMESHimpl + SMESHDS + ${HDF5_LIBRARIES} + +) + +# --- headers --- + +# header files / no moc processing +SET(StdMeshersEngine_HEADERS + StdMeshers_LocalLength_i.hxx + StdMeshers_StartEndLength_i.hxx + StdMeshers_Arithmetic1D_i.hxx + StdMeshers_FixedPoints1D_i.hxx + StdMeshers_NumberOfSegments_i.hxx + StdMeshers_Deflection1D_i.hxx + StdMeshers_Propagation_i.hxx + StdMeshers_LengthFromEdges_i.hxx + StdMeshers_MaxElementArea_i.hxx + StdMeshers_MaxElementVolume_i.hxx + StdMeshers_NotConformAllowed_i.hxx + StdMeshers_Regular_1D_i.hxx + StdMeshers_Quadrangle_2D_i.hxx + StdMeshers_Hexa_3D_i.hxx + StdMeshers_AutomaticLength_i.hxx + StdMeshers_QuadranglePreference_i.hxx + StdMeshers_QuadraticMesh_i.hxx + StdMeshers_NumberOfLayers_i.hxx + StdMeshers_NumberOfLayers2D_i.hxx + StdMeshers_Prism_3D_i.hxx + StdMeshers_ProjectionSource1D_i.hxx + StdMeshers_ProjectionSource2D_i.hxx + StdMeshers_ProjectionSource3D_i.hxx + StdMeshers_Projection_1D_2D_3D_i.hxx + StdMeshers_ObjRefUlils.hxx + StdMeshers_LayerDistribution_i.hxx + StdMeshers_LayerDistribution2D_i.hxx + StdMeshers_CompositeSegment_1D_i.hxx + StdMeshers_SegmentAroundVertex_0D_i.hxx + StdMeshers_SegmentLengthAroundVertex_i.hxx + StdMeshers_UseExisting_1D2D_i.hxx + StdMeshers_MaxLength_i.hxx + StdMeshers_QuadrangleParams_i.hxx + StdMeshers_RadialQuadrangle_1D2D_i.hxx + SMESH_StdMeshers_I.hxx + StdMeshers_ImportSource1D_i.hxx + StdMeshers_ImportSource2D_i.hxx + StdMeshers_Import_1D_i.hxx + StdMeshers_Import_1D2D_i.hxx + StdMeshers_ViscousLayers_i.hxx + StdMeshers_ViscousLayers2D_i.hxx + StdMeshers_CartesianParameters3D_i.hxx + StdMeshers_Cartesian_3D_i.hxx + StdMeshers_PolygonPerFace_2D_i.hxx + StdMeshers_PolyhedronPerSolid_3D_i.hxx + StdMeshers_BlockRenumber_i.hxx + StdMeshers_ViscousLayerBuilder_i.hxx +) +# --- sources --- + +# sources / static +SET(StdMeshersEngine_SOURCES + StdMeshers_i.cxx + StdMeshers_LocalLength_i.cxx + StdMeshers_Reversible1D_i.cxx + StdMeshers_StartEndLength_i.cxx + StdMeshers_Arithmetic1D_i.cxx + StdMeshers_Geometric1D_i.cxx + StdMeshers_FixedPoints1D_i.cxx + StdMeshers_NumberOfSegments_i.cxx + StdMeshers_Deflection1D_i.cxx + StdMeshers_Propagation_i.cxx + StdMeshers_LengthFromEdges_i.cxx + StdMeshers_MaxElementArea_i.cxx + StdMeshers_MaxElementVolume_i.cxx + StdMeshers_NotConformAllowed_i.cxx + StdMeshers_Regular_1D_i.cxx + StdMeshers_Quadrangle_2D_i.cxx + StdMeshers_Hexa_3D_i.cxx + StdMeshers_AutomaticLength_i.cxx + StdMeshers_QuadranglePreference_i.cxx + StdMeshers_QuadraticMesh_i.cxx + StdMeshers_NumberOfLayers_i.cxx + StdMeshers_NumberOfLayers2D_i.cxx + StdMeshers_Prism_3D_i.cxx + StdMeshers_ProjectionSource1D_i.cxx + StdMeshers_ProjectionSource2D_i.cxx + StdMeshers_ProjectionSource3D_i.cxx + StdMeshers_Projection_1D_2D_3D_i.cxx + StdMeshers_ObjRefUlils.cxx + StdMeshers_LayerDistribution_i.cxx + StdMeshers_LayerDistribution2D_i.cxx + StdMeshers_CompositeSegment_1D_i.cxx + StdMeshers_SegmentAroundVertex_0D_i.cxx + StdMeshers_SegmentLengthAroundVertex_i.cxx + StdMeshers_UseExisting_1D2D_i.cxx + StdMeshers_MaxLength_i.cxx + StdMeshers_QuadrangleParams_i.cxx + StdMeshers_RadialQuadrangle_1D2D_i.cxx + StdMeshers_ImportSource1D_i.cxx + StdMeshers_ImportSource2D_i.cxx + StdMeshers_Import_1D_i.cxx + StdMeshers_Import_1D2D_i.cxx + StdMeshers_ViscousLayers_i.cxx + StdMeshers_ViscousLayers2D_i.cxx + StdMeshers_CartesianParameters3D_i.cxx + StdMeshers_Cartesian_3D_i.cxx + StdMeshers_Adaptive1D_i.cxx + StdMeshers_PolygonPerFace_2D_i.cxx + StdMeshers_PolyhedronPerSolid_3D_i.cxx + StdMeshers_BlockRenumber_i.cxx + StdMeshers_ViscousLayerBuilder_i.cxx +) + +# --- rules --- + +ADD_LIBRARY(StdMeshersEngine ${StdMeshersEngine_SOURCES}) +TARGET_LINK_LIBRARIES(StdMeshersEngine ${_link_LIBRARIES} ) +INSTALL(TARGETS StdMeshersEngine EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) + +INSTALL(FILES ${StdMeshersEngine_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})