diff --git a/src/ARCHIMEDE/CMakeLists.txt b/src/ARCHIMEDE/CMakeLists.txt index 4af7626c0..b5e82fd3f 100644 --- a/src/ARCHIMEDE/CMakeLists.txt +++ b/src/ARCHIMEDE/CMakeLists.txt @@ -1,55 +1,55 @@ -# 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} - ${KERNEL_INCLUDE_DIRS} - ${PTHREAD_INCLUDE_DIR} - ) - -# additional preprocessor / compiler flags -ADD_DEFINITIONS( - ${OpenCASCADE_DEFINITIONS} - ) - -# libraries to link to -SET(_link_LIBRARIES - ${OpenCASCADE_FoundationClasses_LIBRARIES} - ${OpenCASCADE_ModelingAlgorithms_LIBRARIES} - ${KERNEL_SALOMELocalTrace} - ) - -# --- headers --- - -SET(Archimede_HEADERS Archimede_VolumeSection.hxx) - -# --- sources --- - -SET(Archimede_SOURCES Archimede_VolumeSection.cxx) - -# --- rules --- - -ADD_LIBRARY(GEOMArchimede ${Archimede_SOURCES}) -TARGET_LINK_LIBRARIES(GEOMArchimede ${_link_LIBRARIES}) -INSTALL(TARGETS GEOMArchimede EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) - -#INSTALL(FILES ${Archimede_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} + ${KERNEL_INCLUDE_DIRS} + ${PTHREAD_INCLUDE_DIR} + ) + +# additional preprocessor / compiler flags +ADD_DEFINITIONS( + ${OpenCASCADE_DEFINITIONS} + ) + +# libraries to link to +SET(_link_LIBRARIES + ${OpenCASCADE_FoundationClasses_LIBRARIES} + ${OpenCASCADE_ModelingAlgorithms_LIBRARIES} + SALOMELocalTrace + ) + +# --- headers --- + +SET(Archimede_HEADERS Archimede_VolumeSection.hxx) + +# --- sources --- + +SET(Archimede_SOURCES Archimede_VolumeSection.cxx) + +# --- rules --- + +ADD_LIBRARY(GEOMArchimede ${Archimede_SOURCES}) +TARGET_LINK_LIBRARIES(GEOMArchimede ${_link_LIBRARIES}) +INSTALL(TARGETS GEOMArchimede EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) + +#INSTALL(FILES ${Archimede_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) diff --git a/src/AdvancedEngine/CMakeLists.txt b/src/AdvancedEngine/CMakeLists.txt index 15a41a701..97781516f 100644 --- a/src/AdvancedEngine/CMakeLists.txt +++ b/src/AdvancedEngine/CMakeLists.txt @@ -47,7 +47,7 @@ SET(_link_LIBRARIES GEOMEngine SalomeIDLGEOM SalomeIDLAdvancedGEOM - ${KERNEL_SALOMELocalTrace} + SALOMELocalTrace ${KERNEL_SalomeGenericObj} ${KERNEL_TOOLSDS} ${KERNEL_SalomeContainer} diff --git a/src/BREPPlugin/CMakeLists.txt b/src/BREPPlugin/CMakeLists.txt index 245454486..87dd8fba8 100644 --- a/src/BREPPlugin/CMakeLists.txt +++ b/src/BREPPlugin/CMakeLists.txt @@ -65,7 +65,7 @@ ENDIF() # libraries to link to SET(_link_engine_LIBRARIES ${OpenCASCADE_ModelingData_LIBRARIES} - ${KERNEL_SALOMELocalTrace} + SALOMELocalTrace ${KERNEL_OpUtil} SalomeIDLGEOM SalomeIDLBREPPlugin diff --git a/src/BlockFix/CMakeLists.txt b/src/BlockFix/CMakeLists.txt index e59c209f2..20591b975 100644 --- a/src/BlockFix/CMakeLists.txt +++ b/src/BlockFix/CMakeLists.txt @@ -1,74 +1,74 @@ -# 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} - ${KERNEL_INCLUDE_DIRS} - ${PTHREAD_INCLUDE_DIR} - ${CMAKE_CURRENT_SOURCE_DIR} - ) - -# additional preprocessor / compiler flags -ADD_DEFINITIONS( - ${OpenCASCADE_DEFINITIONS} - ) - -# libraries to link to -SET(_link_LIBRARIES - ${OpenCASCADE_FoundationClasses_LIBRARIES} - ${OpenCASCADE_ModelingAlgorithms_LIBRARIES} - ${KERNEL_SALOMELocalTrace} - ) - -# --- headers --- - -SET(BlockFix_HEADERS - BlockFix.hxx - BlockFix_BlockFixAPI.hxx - BlockFix_CheckTool.hxx - BlockFix_PeriodicSurfaceModifier.hxx - BlockFix_SphereSpaceModifier.hxx - BlockFix_UnionEdges.hxx - BlockFix_UnionFaces.hxx - ) - -# --- sources --- - -SET(BlockFix_SOURCES - BlockFix_BlockFixAPI.cxx - BlockFix_CheckTool.cxx - BlockFix.cxx - BlockFix_PeriodicSurfaceModifier.cxx - BlockFix_SphereSpaceModifier.cxx - BlockFix_UnionEdges.cxx - BlockFix_UnionFaces.cxx - ) - -# --- rules --- - -ADD_LIBRARY(BlockFix ${BlockFix_SOURCES}) -TARGET_LINK_LIBRARIES(BlockFix ${_link_LIBRARIES}) -INSTALL(TARGETS BlockFix EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) - -INSTALL(FILES ${BlockFix_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} + ${KERNEL_INCLUDE_DIRS} + ${PTHREAD_INCLUDE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ) + +# additional preprocessor / compiler flags +ADD_DEFINITIONS( + ${OpenCASCADE_DEFINITIONS} + ) + +# libraries to link to +SET(_link_LIBRARIES + ${OpenCASCADE_FoundationClasses_LIBRARIES} + ${OpenCASCADE_ModelingAlgorithms_LIBRARIES} + SALOMELocalTrace + ) + +# --- headers --- + +SET(BlockFix_HEADERS + BlockFix.hxx + BlockFix_BlockFixAPI.hxx + BlockFix_CheckTool.hxx + BlockFix_PeriodicSurfaceModifier.hxx + BlockFix_SphereSpaceModifier.hxx + BlockFix_UnionEdges.hxx + BlockFix_UnionFaces.hxx + ) + +# --- sources --- + +SET(BlockFix_SOURCES + BlockFix_BlockFixAPI.cxx + BlockFix_CheckTool.cxx + BlockFix.cxx + BlockFix_PeriodicSurfaceModifier.cxx + BlockFix_SphereSpaceModifier.cxx + BlockFix_UnionEdges.cxx + BlockFix_UnionFaces.cxx + ) + +# --- rules --- + +ADD_LIBRARY(BlockFix ${BlockFix_SOURCES}) +TARGET_LINK_LIBRARIES(BlockFix ${_link_LIBRARIES}) +INSTALL(TARGETS BlockFix EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) + +INSTALL(FILES ${BlockFix_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) + + diff --git a/src/GEOM/CMakeLists.txt b/src/GEOM/CMakeLists.txt index 5a1a73e86..1f95b33e8 100644 --- a/src/GEOM/CMakeLists.txt +++ b/src/GEOM/CMakeLists.txt @@ -37,7 +37,7 @@ ADD_DEFINITIONS( # libraries to link to SET(_link_LIBRARIES ${OpenCASCADE_ApplicationFramework_LIBRARIES} ${OpenCASCADE_ModelingData_LIBRARIES} - ${KERNEL_SALOMELocalTrace} + SALOMELocalTrace ${KERNEL_OpUtil} GEOMSketcher ) diff --git a/src/GEOMAlgo/CMakeLists.txt b/src/GEOMAlgo/CMakeLists.txt index 39585b771..454634d6a 100644 --- a/src/GEOMAlgo/CMakeLists.txt +++ b/src/GEOMAlgo/CMakeLists.txt @@ -1,167 +1,167 @@ -# 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} - ${KERNEL_INCLUDE_DIRS} - ${PROJECT_SOURCE_DIR}/src/GEOMUtils - ${PROJECT_SOURCE_DIR}/src/GEOM - ${CMAKE_CURRENT_SOURCE_DIR} - ) - -# additional preprocessor / compiler flags -ADD_DEFINITIONS( - ${OpenCASCADE_DEFINITIONS} - ) - -# libraries to link to -SET(_link_LIBRARIES - ${OpenCASCADE_FoundationClasses_LIBRARIES} - ${OpenCASCADE_ModelingAlgorithms_LIBRARIES} - GEOMbasic GEOMUtils - ${KERNEL_SALOMELocalTrace} - ) - -# --- headers --- - -SET(GEOMAlgo_HEADERS - GEOMAlgo_Algo.hxx - GEOMAlgo_AlgoTools.hxx - GEOMAlgo_BndSphere.hxx - GEOMAlgo_BndSphereTree.hxx - GEOMAlgo_BoxBndTree.hxx - GEOMAlgo_Clsf.hxx - GEOMAlgo_ClsfBox.hxx - GEOMAlgo_ClsfQuad.hxx - GEOMAlgo_ClsfSolid.hxx - GEOMAlgo_ClsfSurf.hxx - GEOMAlgo_CoupleOfShapes.hxx - GEOMAlgo_DataMapIteratorOfDataMapOfPassKeyInteger.hxx - GEOMAlgo_DataMapOfPassKeyInteger.hxx - GEOMAlgo_DataMapOfShapeMapOfShape.hxx - GEOMAlgo_DataMapOfShapePnt.hxx - GEOMAlgo_Extractor.hxx - GEOMAlgo_FinderShapeOn2.hxx - GEOMAlgo_GetInPlace.hxx - GEOMAlgo_GetInPlaceAPI.hxx - GEOMAlgo_GlueAnalyser.hxx - GEOMAlgo_GlueDetector.hxx - GEOMAlgo_Gluer.hxx - GEOMAlgo_Gluer2.hxx - GEOMAlgo_GluerAlgo.hxx - GEOMAlgo_HAlgo.hxx - GEOMAlgo_IndexedDataMapOfIntegerShape.hxx - GEOMAlgo_IndexedDataMapOfPassKeyShapeListOfShape.hxx - GEOMAlgo_IndexedDataMapOfShapeBndSphere.hxx - GEOMAlgo_IndexedDataMapOfShapeBox.hxx - GEOMAlgo_IndexedDataMapOfShapeIndexedMapOfShape.hxx - GEOMAlgo_IndexedDataMapOfShapeShapeInfo.hxx - GEOMAlgo_IndexedDataMapOfShapeState.hxx - GEOMAlgo_KindOfBounds.hxx - GEOMAlgo_KindOfClosed.hxx - GEOMAlgo_KindOfDef.hxx - GEOMAlgo_KindOfName.hxx - GEOMAlgo_KindOfPeriod.hxx - GEOMAlgo_KindOfShape.hxx - GEOMAlgo_ListIteratorOfListOfCoupleOfShapes.hxx - GEOMAlgo_ListIteratorOfListOfPnt.hxx - GEOMAlgo_ListOfCoupleOfShapes.hxx - GEOMAlgo_ListOfPnt.hxx - GEOMAlgo_PassKey.hxx - GEOMAlgo_PassKeyMapHasher.hxx - GEOMAlgo_PassKeyShape.hxx - GEOMAlgo_PassKeyShapeMapHasher.hxx - GEOMAlgo_RemoverWebs.hxx - GEOMAlgo_ShapeAlgo.hxx - GEOMAlgo_ShapeInfo.hxx - GEOMAlgo_ShapeInfoFiller.hxx - GEOMAlgo_ShapeSolid.hxx - GEOMAlgo_ShellSolid.hxx - GEOMAlgo_SolidSolid.hxx - GEOMAlgo_Splitter.hxx - GEOMAlgo_State.hxx - GEOMAlgo_StateCollector.hxx - GEOMAlgo_SurfaceTools.hxx - GEOMAlgo_VertexSolid.hxx - GEOMAlgo_WireSolid.hxx - ) - -# --- sources --- - -SET(GEOMAlgo_SOURCES - GEOMAlgo_Algo.cxx - GEOMAlgo_AlgoTools.cxx - GEOMAlgo_AlgoTools_1.cxx - GEOMAlgo_BndSphere.cxx - GEOMAlgo_BndSphereTree.cxx - GEOMAlgo_BoxBndTree.cxx - GEOMAlgo_BuilderShape.cxx - GEOMAlgo_Clsf.cxx - GEOMAlgo_ClsfBox.cxx - GEOMAlgo_ClsfQuad.cxx - GEOMAlgo_ClsfSolid.cxx - GEOMAlgo_ClsfSurf.cxx - GEOMAlgo_CoupleOfShapes.cxx - GEOMAlgo_FinderShapeOn2.cxx - GEOMAlgo_Extractor.cxx - GEOMAlgo_GetInPlace.cxx - GEOMAlgo_GetInPlace_1.cxx - GEOMAlgo_GetInPlace_2.cxx - GEOMAlgo_GetInPlace_3.cxx - GEOMAlgo_GetInPlaceAPI.cxx - GEOMAlgo_GlueAnalyser.cxx - GEOMAlgo_GlueDetector.cxx - GEOMAlgo_Gluer.cxx - GEOMAlgo_Gluer2.cxx - GEOMAlgo_Gluer2_1.cxx - GEOMAlgo_Gluer2_2.cxx - GEOMAlgo_Gluer2_3.cxx - GEOMAlgo_GluerAlgo.cxx - GEOMAlgo_HAlgo.cxx - GEOMAlgo_PassKey.cxx - GEOMAlgo_PassKeyMapHasher.cxx - GEOMAlgo_PassKeyShape.cxx - GEOMAlgo_PassKeyShapeMapHasher.cxx - GEOMAlgo_RemoverWebs.cxx - GEOMAlgo_ShapeAlgo.cxx - GEOMAlgo_ShapeInfo.cxx - GEOMAlgo_ShapeInfoFiller.cxx - GEOMAlgo_ShapeInfoFiller_1.cxx - GEOMAlgo_ShapeSolid.cxx - GEOMAlgo_ShellSolid.cxx - GEOMAlgo_SolidSolid.cxx - GEOMAlgo_Splitter.cxx - GEOMAlgo_StateCollector.cxx - GEOMAlgo_SurfaceTools.cxx - GEOMAlgo_VertexSolid.cxx - GEOMAlgo_WireSolid.cxx - ) - -# --- rules --- - -ADD_LIBRARY(GEOMAlgo ${GEOMAlgo_SOURCES}) -TARGET_LINK_LIBRARIES(GEOMAlgo ${_link_LIBRARIES}) -INSTALL(TARGETS GEOMAlgo EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) - -INSTALL(FILES ${GEOMAlgo_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} + ${KERNEL_INCLUDE_DIRS} + ${PROJECT_SOURCE_DIR}/src/GEOMUtils + ${PROJECT_SOURCE_DIR}/src/GEOM + ${CMAKE_CURRENT_SOURCE_DIR} + ) + +# additional preprocessor / compiler flags +ADD_DEFINITIONS( + ${OpenCASCADE_DEFINITIONS} + ) + +# libraries to link to +SET(_link_LIBRARIES + ${OpenCASCADE_FoundationClasses_LIBRARIES} + ${OpenCASCADE_ModelingAlgorithms_LIBRARIES} + GEOMbasic GEOMUtils + SALOMELocalTrace + ) + +# --- headers --- + +SET(GEOMAlgo_HEADERS + GEOMAlgo_Algo.hxx + GEOMAlgo_AlgoTools.hxx + GEOMAlgo_BndSphere.hxx + GEOMAlgo_BndSphereTree.hxx + GEOMAlgo_BoxBndTree.hxx + GEOMAlgo_Clsf.hxx + GEOMAlgo_ClsfBox.hxx + GEOMAlgo_ClsfQuad.hxx + GEOMAlgo_ClsfSolid.hxx + GEOMAlgo_ClsfSurf.hxx + GEOMAlgo_CoupleOfShapes.hxx + GEOMAlgo_DataMapIteratorOfDataMapOfPassKeyInteger.hxx + GEOMAlgo_DataMapOfPassKeyInteger.hxx + GEOMAlgo_DataMapOfShapeMapOfShape.hxx + GEOMAlgo_DataMapOfShapePnt.hxx + GEOMAlgo_Extractor.hxx + GEOMAlgo_FinderShapeOn2.hxx + GEOMAlgo_GetInPlace.hxx + GEOMAlgo_GetInPlaceAPI.hxx + GEOMAlgo_GlueAnalyser.hxx + GEOMAlgo_GlueDetector.hxx + GEOMAlgo_Gluer.hxx + GEOMAlgo_Gluer2.hxx + GEOMAlgo_GluerAlgo.hxx + GEOMAlgo_HAlgo.hxx + GEOMAlgo_IndexedDataMapOfIntegerShape.hxx + GEOMAlgo_IndexedDataMapOfPassKeyShapeListOfShape.hxx + GEOMAlgo_IndexedDataMapOfShapeBndSphere.hxx + GEOMAlgo_IndexedDataMapOfShapeBox.hxx + GEOMAlgo_IndexedDataMapOfShapeIndexedMapOfShape.hxx + GEOMAlgo_IndexedDataMapOfShapeShapeInfo.hxx + GEOMAlgo_IndexedDataMapOfShapeState.hxx + GEOMAlgo_KindOfBounds.hxx + GEOMAlgo_KindOfClosed.hxx + GEOMAlgo_KindOfDef.hxx + GEOMAlgo_KindOfName.hxx + GEOMAlgo_KindOfPeriod.hxx + GEOMAlgo_KindOfShape.hxx + GEOMAlgo_ListIteratorOfListOfCoupleOfShapes.hxx + GEOMAlgo_ListIteratorOfListOfPnt.hxx + GEOMAlgo_ListOfCoupleOfShapes.hxx + GEOMAlgo_ListOfPnt.hxx + GEOMAlgo_PassKey.hxx + GEOMAlgo_PassKeyMapHasher.hxx + GEOMAlgo_PassKeyShape.hxx + GEOMAlgo_PassKeyShapeMapHasher.hxx + GEOMAlgo_RemoverWebs.hxx + GEOMAlgo_ShapeAlgo.hxx + GEOMAlgo_ShapeInfo.hxx + GEOMAlgo_ShapeInfoFiller.hxx + GEOMAlgo_ShapeSolid.hxx + GEOMAlgo_ShellSolid.hxx + GEOMAlgo_SolidSolid.hxx + GEOMAlgo_Splitter.hxx + GEOMAlgo_State.hxx + GEOMAlgo_StateCollector.hxx + GEOMAlgo_SurfaceTools.hxx + GEOMAlgo_VertexSolid.hxx + GEOMAlgo_WireSolid.hxx + ) + +# --- sources --- + +SET(GEOMAlgo_SOURCES + GEOMAlgo_Algo.cxx + GEOMAlgo_AlgoTools.cxx + GEOMAlgo_AlgoTools_1.cxx + GEOMAlgo_BndSphere.cxx + GEOMAlgo_BndSphereTree.cxx + GEOMAlgo_BoxBndTree.cxx + GEOMAlgo_BuilderShape.cxx + GEOMAlgo_Clsf.cxx + GEOMAlgo_ClsfBox.cxx + GEOMAlgo_ClsfQuad.cxx + GEOMAlgo_ClsfSolid.cxx + GEOMAlgo_ClsfSurf.cxx + GEOMAlgo_CoupleOfShapes.cxx + GEOMAlgo_FinderShapeOn2.cxx + GEOMAlgo_Extractor.cxx + GEOMAlgo_GetInPlace.cxx + GEOMAlgo_GetInPlace_1.cxx + GEOMAlgo_GetInPlace_2.cxx + GEOMAlgo_GetInPlace_3.cxx + GEOMAlgo_GetInPlaceAPI.cxx + GEOMAlgo_GlueAnalyser.cxx + GEOMAlgo_GlueDetector.cxx + GEOMAlgo_Gluer.cxx + GEOMAlgo_Gluer2.cxx + GEOMAlgo_Gluer2_1.cxx + GEOMAlgo_Gluer2_2.cxx + GEOMAlgo_Gluer2_3.cxx + GEOMAlgo_GluerAlgo.cxx + GEOMAlgo_HAlgo.cxx + GEOMAlgo_PassKey.cxx + GEOMAlgo_PassKeyMapHasher.cxx + GEOMAlgo_PassKeyShape.cxx + GEOMAlgo_PassKeyShapeMapHasher.cxx + GEOMAlgo_RemoverWebs.cxx + GEOMAlgo_ShapeAlgo.cxx + GEOMAlgo_ShapeInfo.cxx + GEOMAlgo_ShapeInfoFiller.cxx + GEOMAlgo_ShapeInfoFiller_1.cxx + GEOMAlgo_ShapeSolid.cxx + GEOMAlgo_ShellSolid.cxx + GEOMAlgo_SolidSolid.cxx + GEOMAlgo_Splitter.cxx + GEOMAlgo_StateCollector.cxx + GEOMAlgo_SurfaceTools.cxx + GEOMAlgo_VertexSolid.cxx + GEOMAlgo_WireSolid.cxx + ) + +# --- rules --- + +ADD_LIBRARY(GEOMAlgo ${GEOMAlgo_SOURCES}) +TARGET_LINK_LIBRARIES(GEOMAlgo ${_link_LIBRARIES}) +INSTALL(TARGETS GEOMAlgo EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) + +INSTALL(FILES ${GEOMAlgo_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) + + diff --git a/src/GEOMBase/CMakeLists.txt b/src/GEOMBase/CMakeLists.txt index fe30e1f8c..3344f447c 100644 --- a/src/GEOMBase/CMakeLists.txt +++ b/src/GEOMBase/CMakeLists.txt @@ -1,98 +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 -# - -INCLUDE(UseQtExt) - -# --- options --- - -# additional include directories -INCLUDE_DIRECTORIES( - ${PTHREAD_INCLUDE_DIR} - ${OMNIORB_INCLUDE_DIR} - ${OpenCASCADE_INCLUDE_DIR} - ${KERNEL_INCLUDE_DIRS} - ${GUI_INCLUDE_DIRS} - ${PROJECT_BINARY_DIR}/idl - ${PROJECT_BINARY_DIR} - ${PROJECT_SOURCE_DIR}/src/OBJECT - ${PROJECT_SOURCE_DIR}/src/GEOMClient - ${PROJECT_SOURCE_DIR}/src/GEOMImpl - ${PROJECT_SOURCE_DIR}/src/GEOMGUI - ${PROJECT_SOURCE_DIR}/src/DlgRef - ${PROJECT_BINARY_DIR}/src/DlgRef - ${CMAKE_CURRENT_SOURCE_DIR} - ) - -# additional preprocessor / compiler flags -ADD_DEFINITIONS( - ${OpenCASCADE_DEFINITIONS} - ${OMNIORB_DEFINITIONS} - ${QT_DEFINITIONS} - ) - -# libraries to link to -SET(_link_LIBRARIES - GEOMObject - GEOMClient - GEOMImpl - GEOM - DlgRef - ${KERNEL_SALOMELocalTrace} - ) - -# --- headers --- - -SET(GEOMBase_HEADERS - GEOMBase.h - GEOMBase_Skeleton.h - GEOMBase_DlgSkeleton.h - GEOMBase_Helper.h - GEOM_Operation.h - GEOM_GEOMBase.hxx - GEOM_GenericObjPtr.h - ) - -# header files / to be processed by moc -SET(_moc_HEADERS - GEOMBase_Skeleton.h - GEOMBase_DlgSkeleton.h - ) - -# --- sources --- - -# sources / moc wrappings -QT_WRAP_MOC(_moc_SOURCES ${_moc_HEADERS}) - -SET(GEOMBase_SOURCES - GEOMBase.cxx - GEOMBase_Skeleton.cxx - GEOMBase_Helper.cxx - GEOM_Operation.cxx - GEOM_GenericObjPtr.cxx - GEOMBase_DlgSkeleton.cxx - ${_moc_SOURCES} - ) - -# --- rules --- - -ADD_LIBRARY(GEOMBase ${GEOMBase_SOURCES}) -TARGET_LINK_LIBRARIES(GEOMBase ${_link_LIBRARIES}) -INSTALL(TARGETS GEOMBase EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) - -INSTALL(FILES ${GEOMBase_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 +# + +INCLUDE(UseQtExt) + +# --- options --- + +# additional include directories +INCLUDE_DIRECTORIES( + ${PTHREAD_INCLUDE_DIR} + ${OMNIORB_INCLUDE_DIR} + ${OpenCASCADE_INCLUDE_DIR} + ${KERNEL_INCLUDE_DIRS} + ${GUI_INCLUDE_DIRS} + ${PROJECT_BINARY_DIR}/idl + ${PROJECT_BINARY_DIR} + ${PROJECT_SOURCE_DIR}/src/OBJECT + ${PROJECT_SOURCE_DIR}/src/GEOMClient + ${PROJECT_SOURCE_DIR}/src/GEOMImpl + ${PROJECT_SOURCE_DIR}/src/GEOMGUI + ${PROJECT_SOURCE_DIR}/src/DlgRef + ${PROJECT_BINARY_DIR}/src/DlgRef + ${CMAKE_CURRENT_SOURCE_DIR} + ) + +# additional preprocessor / compiler flags +ADD_DEFINITIONS( + ${OpenCASCADE_DEFINITIONS} + ${OMNIORB_DEFINITIONS} + ${QT_DEFINITIONS} + ) + +# libraries to link to +SET(_link_LIBRARIES + GEOMObject + GEOMClient + GEOMImpl + GEOM + DlgRef + SALOMELocalTrace + ) + +# --- headers --- + +SET(GEOMBase_HEADERS + GEOMBase.h + GEOMBase_Skeleton.h + GEOMBase_DlgSkeleton.h + GEOMBase_Helper.h + GEOM_Operation.h + GEOM_GEOMBase.hxx + GEOM_GenericObjPtr.h + ) + +# header files / to be processed by moc +SET(_moc_HEADERS + GEOMBase_Skeleton.h + GEOMBase_DlgSkeleton.h + ) + +# --- sources --- + +# sources / moc wrappings +QT_WRAP_MOC(_moc_SOURCES ${_moc_HEADERS}) + +SET(GEOMBase_SOURCES + GEOMBase.cxx + GEOMBase_Skeleton.cxx + GEOMBase_Helper.cxx + GEOM_Operation.cxx + GEOM_GenericObjPtr.cxx + GEOMBase_DlgSkeleton.cxx + ${_moc_SOURCES} + ) + +# --- rules --- + +ADD_LIBRARY(GEOMBase ${GEOMBase_SOURCES}) +TARGET_LINK_LIBRARIES(GEOMBase ${_link_LIBRARIES}) +INSTALL(TARGETS GEOMBase EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) + +INSTALL(FILES ${GEOMBase_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) diff --git a/src/GEOMClient/CMakeLists.txt b/src/GEOMClient/CMakeLists.txt index af67cb67a..a46aab678 100644 --- a/src/GEOMClient/CMakeLists.txt +++ b/src/GEOMClient/CMakeLists.txt @@ -1,62 +1,62 @@ -# 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} - ${PTHREAD_INCLUDE_DIR} - ${KERNEL_INCLUDE_DIRS} - ${PROJECT_BINARY_DIR}/idl - ${CMAKE_CURRENT_SOURCE_DIR} - ) - -# additional preprocessor / compiler flags -ADD_DEFINITIONS( - ${OpenCASCADE_DEFINITIONS} - ${OMNIORB_DEFINITIONS} - ) - -# libraries to link to -SET(_link_LIBRARIES - SalomeIDLGEOM - ${OpenCASCADE_ModelingData_LIBRARIES} - ${KERNEL_SALOMELocalTrace} - ) - -# --- headers --- - -SET(GEOMClient_HEADERS - GEOM_Client.hxx - ) -# --- sources --- - -SET(GEOMClient_SOURCES - GEOM_Client.cxx - ) - -# --- rules --- - -ADD_LIBRARY(GEOMClient ${GEOMClient_SOURCES}) -TARGET_LINK_LIBRARIES(GEOMClient ${_link_LIBRARIES}) -INSTALL(TARGETS GEOMClient EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) - -INSTALL(FILES ${GEOMClient_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} + ${PTHREAD_INCLUDE_DIR} + ${KERNEL_INCLUDE_DIRS} + ${PROJECT_BINARY_DIR}/idl + ${CMAKE_CURRENT_SOURCE_DIR} + ) + +# additional preprocessor / compiler flags +ADD_DEFINITIONS( + ${OpenCASCADE_DEFINITIONS} + ${OMNIORB_DEFINITIONS} + ) + +# libraries to link to +SET(_link_LIBRARIES + SalomeIDLGEOM + ${OpenCASCADE_ModelingData_LIBRARIES} + SALOMELocalTrace + ) + +# --- headers --- + +SET(GEOMClient_HEADERS + GEOM_Client.hxx + ) +# --- sources --- + +SET(GEOMClient_SOURCES + GEOM_Client.cxx + ) + +# --- rules --- + +ADD_LIBRARY(GEOMClient ${GEOMClient_SOURCES}) +TARGET_LINK_LIBRARIES(GEOMClient ${_link_LIBRARIES}) +INSTALL(TARGETS GEOMClient EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) + +INSTALL(FILES ${GEOMClient_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) diff --git a/src/GEOMFiltersSelection/CMakeLists.txt b/src/GEOMFiltersSelection/CMakeLists.txt index 4d254c724..d885fa71a 100644 --- a/src/GEOMFiltersSelection/CMakeLists.txt +++ b/src/GEOMFiltersSelection/CMakeLists.txt @@ -1,82 +1,82 @@ -# 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} - ${PTHREAD_INCLUDE_DIR} - ${OpenCASCADE_INCLUDE_DIR} - ${KERNEL_INCLUDE_DIRS} - ${GUI_INCLUDE_DIRS} - ${PROJECT_BINARY_DIR}/idl - ${PROJECT_BINARY_DIR} - ${PROJECT_SOURCE_DIR}/src/GEOMClient - ${CMAKE_CURRENT_SOURCE_DIR} - ) - -# additional preprocessor / compiler flags -ADD_DEFINITIONS( - ${OpenCASCADE_DEFINITIONS} - ${OMNIORB_DEFINITIONS} - ${QT_DEFINITIONS} - ) - -# libraries to link to -SET(_link_LIBRARIES - SalomeIDLGEOM - GEOMClient - ${OpenCASCADE_ModelingData_LIBRARIES} - ${KERNEL_SALOMELocalTrace} - ${GUI_SalomeApp} - ) - -# --- headers --- - -SET(GEOMFiltersSelection_HEADERS - GEOM_SelectionFilter.h - GEOM_EdgeFilter.h - GEOM_FaceFilter.h - GEOM_TypeFilter.h - GEOM_PreviewFilter.h - GEOM_LogicalFilter.h - GEOM_OCCFilter.h - GEOM_CompoundFilter.h - ) -# --- sources --- - -SET(GEOMFiltersSelection_SOURCES - GEOM_SelectionFilter.cxx - GEOM_EdgeFilter.cxx - GEOM_FaceFilter.cxx - GEOM_TypeFilter.cxx - GEOM_PreviewFilter.cxx - GEOM_LogicalFilter.cxx - GEOM_OCCFilter.cxx - GEOM_CompoundFilter.cxx - ) - -# --- rules --- - -ADD_LIBRARY(GEOMFiltersSelection ${GEOMFiltersSelection_SOURCES}) -TARGET_LINK_LIBRARIES(GEOMFiltersSelection ${_link_LIBRARIES}) -INSTALL(TARGETS GEOMFiltersSelection EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) - -INSTALL(FILES ${GEOMFiltersSelection_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} + ${PTHREAD_INCLUDE_DIR} + ${OpenCASCADE_INCLUDE_DIR} + ${KERNEL_INCLUDE_DIRS} + ${GUI_INCLUDE_DIRS} + ${PROJECT_BINARY_DIR}/idl + ${PROJECT_BINARY_DIR} + ${PROJECT_SOURCE_DIR}/src/GEOMClient + ${CMAKE_CURRENT_SOURCE_DIR} + ) + +# additional preprocessor / compiler flags +ADD_DEFINITIONS( + ${OpenCASCADE_DEFINITIONS} + ${OMNIORB_DEFINITIONS} + ${QT_DEFINITIONS} + ) + +# libraries to link to +SET(_link_LIBRARIES + SalomeIDLGEOM + GEOMClient + ${OpenCASCADE_ModelingData_LIBRARIES} + SALOMELocalTrace + ${GUI_SalomeApp} + ) + +# --- headers --- + +SET(GEOMFiltersSelection_HEADERS + GEOM_SelectionFilter.h + GEOM_EdgeFilter.h + GEOM_FaceFilter.h + GEOM_TypeFilter.h + GEOM_PreviewFilter.h + GEOM_LogicalFilter.h + GEOM_OCCFilter.h + GEOM_CompoundFilter.h + ) +# --- sources --- + +SET(GEOMFiltersSelection_SOURCES + GEOM_SelectionFilter.cxx + GEOM_EdgeFilter.cxx + GEOM_FaceFilter.cxx + GEOM_TypeFilter.cxx + GEOM_PreviewFilter.cxx + GEOM_LogicalFilter.cxx + GEOM_OCCFilter.cxx + GEOM_CompoundFilter.cxx + ) + +# --- rules --- + +ADD_LIBRARY(GEOMFiltersSelection ${GEOMFiltersSelection_SOURCES}) +TARGET_LINK_LIBRARIES(GEOMFiltersSelection ${_link_LIBRARIES}) +INSTALL(TARGETS GEOMFiltersSelection EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) + +INSTALL(FILES ${GEOMFiltersSelection_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) diff --git a/src/GEOMGUI/CMakeLists.txt b/src/GEOMGUI/CMakeLists.txt index 0814651a4..b3a3ec2d9 100644 --- a/src/GEOMGUI/CMakeLists.txt +++ b/src/GEOMGUI/CMakeLists.txt @@ -1,139 +1,139 @@ -# 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(UseQtExt) - -# --- options --- - -# additional include directories -INCLUDE_DIRECTORIES( - ${PTHREAD_INCLUDE_DIR} - ${OMNIORB_INCLUDE_DIR} - ${OpenCASCADE_INCLUDE_DIR} - ${KERNEL_INCLUDE_DIRS} - ${GUI_INCLUDE_DIRS} - ${PROJECT_BINARY_DIR}/idl - ${PROJECT_BINARY_DIR} - ${PROJECT_SOURCE_DIR}/src/OBJECT - ${PROJECT_SOURCE_DIR}/src/GEOMFiltersSelection - ${PROJECT_SOURCE_DIR}/src/Material - ${PROJECT_SOURCE_DIR}/src/GEOMClient - ${PROJECT_SOURCE_DIR}/src/GEOMImpl - ${PROJECT_SOURCE_DIR}/src/GEOMUtils - ${PROJECT_SOURCE_DIR}/src/GEOM_I - ${PROJECT_SOURCE_DIR}/src/GEOM - ${CMAKE_CURRENT_SOURCE_DIR} - ) - -# additional preprocessor / compiler flags -ADD_DEFINITIONS( - ${OpenCASCADE_DEFINITIONS} - ${OMNIORB_DEFINITIONS} - ${QT_DEFINITIONS} - ${OPENCV_DEFINITIONS} - ) - -# libraries to link to -SET(_link_LIBRARIES - GEOMObject - GEOMClient - GEOMFiltersSelection - Material - GEOMImpl - GEOMUtils - GEOMEngine - ${KERNEL_SALOMELocalTrace} - ${KERNEL_SalomeDS} - ${KERNEL_SalomeDSClient} - ) - -# --- headers --- - -SET(GEOMGUI_HEADERS - GeometryGUI.h - GEOMGUI_AnnotationMgr.h - GeometryGUI_Operations.h - GEOMGUI.h - GEOMPluginGUI.h - GEOM_Displayer.h - GEOMGUI_OCCSelector.h - GEOMGUI_Selection.h - GEOM_GEOMGUI.hxx - GEOMGUI_CreationInfoWdg.h - GEOMGUI_TextTreeWdg.h - GEOMGUI_TextTreeSelector.h - GEOMGUI_DimensionProperty.h - GEOMGUI_AnnotationAttrs.h - ) - -# header files / to be processed by moc -SET(_moc_HEADERS - GEOMGUI_AnnotationMgr.h - GEOMGUI_CreationInfoWdg.h - GEOMGUI_TextTreeWdg.h - GEOMGUI_TextTreeSelector.h - GeometryGUI.h - ) - -# --- resources --- - -# resource files / to be processed by rcc -SET(_rcc_RESOURCES GEOMGUI.qrc) - -# resource files / to be processed by lrelease -SET(_ts_RESOURCES - GEOM_images.ts - GEOM_msg_en.ts - GEOM_msg_fr.ts - GEOM_msg_ja.ts -) - -# --- sources --- - -# sources / moc wrappings -QT_WRAP_MOC(_moc_SOURCES ${_moc_HEADERS}) - -# sources / rcc wrappings -QT_ADD_RESOURCES(_rcc_SOURCES ${_rcc_RESOURCES}) - -SET(GEOMGUI_SOURCES - GeometryGUI.cxx - GEOMGUI_AnnotationMgr.cxx - GEOMGUI.cxx - GEOMPluginGUI.cxx - GEOM_Displayer.cxx - GEOMGUI_OCCSelector.cxx - GEOMGUI_Selection.cxx - GEOMGUI_CreationInfoWdg.cxx - GEOMGUI_TextTreeWdg.cxx - GEOMGUI_TextTreeSelector.cxx - GEOMGUI_DimensionProperty.cxx - GEOMGUI_AnnotationAttrs.cxx - ${_moc_SOURCES} - ${_rcc_SOURCES} - ) - -# --- rules --- - -ADD_LIBRARY(GEOM ${GEOMGUI_SOURCES}) -TARGET_LINK_LIBRARIES(GEOM ${_link_LIBRARIES}) -INSTALL(TARGETS GEOM EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) - -INSTALL(FILES ${GEOMGUI_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) -QT_INSTALL_TS_RESOURCES("${_ts_RESOURCES}" "${SALOME_GEOM_INSTALL_RES_DATA}") +# 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(UseQtExt) + +# --- options --- + +# additional include directories +INCLUDE_DIRECTORIES( + ${PTHREAD_INCLUDE_DIR} + ${OMNIORB_INCLUDE_DIR} + ${OpenCASCADE_INCLUDE_DIR} + ${KERNEL_INCLUDE_DIRS} + ${GUI_INCLUDE_DIRS} + ${PROJECT_BINARY_DIR}/idl + ${PROJECT_BINARY_DIR} + ${PROJECT_SOURCE_DIR}/src/OBJECT + ${PROJECT_SOURCE_DIR}/src/GEOMFiltersSelection + ${PROJECT_SOURCE_DIR}/src/Material + ${PROJECT_SOURCE_DIR}/src/GEOMClient + ${PROJECT_SOURCE_DIR}/src/GEOMImpl + ${PROJECT_SOURCE_DIR}/src/GEOMUtils + ${PROJECT_SOURCE_DIR}/src/GEOM_I + ${PROJECT_SOURCE_DIR}/src/GEOM + ${CMAKE_CURRENT_SOURCE_DIR} + ) + +# additional preprocessor / compiler flags +ADD_DEFINITIONS( + ${OpenCASCADE_DEFINITIONS} + ${OMNIORB_DEFINITIONS} + ${QT_DEFINITIONS} + ${OPENCV_DEFINITIONS} + ) + +# libraries to link to +SET(_link_LIBRARIES + GEOMObject + GEOMClient + GEOMFiltersSelection + Material + GEOMImpl + GEOMUtils + GEOMEngine + SALOMELocalTrace + ${KERNEL_SalomeDS} + ${KERNEL_SalomeDSClient} + ) + +# --- headers --- + +SET(GEOMGUI_HEADERS + GeometryGUI.h + GEOMGUI_AnnotationMgr.h + GeometryGUI_Operations.h + GEOMGUI.h + GEOMPluginGUI.h + GEOM_Displayer.h + GEOMGUI_OCCSelector.h + GEOMGUI_Selection.h + GEOM_GEOMGUI.hxx + GEOMGUI_CreationInfoWdg.h + GEOMGUI_TextTreeWdg.h + GEOMGUI_TextTreeSelector.h + GEOMGUI_DimensionProperty.h + GEOMGUI_AnnotationAttrs.h + ) + +# header files / to be processed by moc +SET(_moc_HEADERS + GEOMGUI_AnnotationMgr.h + GEOMGUI_CreationInfoWdg.h + GEOMGUI_TextTreeWdg.h + GEOMGUI_TextTreeSelector.h + GeometryGUI.h + ) + +# --- resources --- + +# resource files / to be processed by rcc +SET(_rcc_RESOURCES GEOMGUI.qrc) + +# resource files / to be processed by lrelease +SET(_ts_RESOURCES + GEOM_images.ts + GEOM_msg_en.ts + GEOM_msg_fr.ts + GEOM_msg_ja.ts +) + +# --- sources --- + +# sources / moc wrappings +QT_WRAP_MOC(_moc_SOURCES ${_moc_HEADERS}) + +# sources / rcc wrappings +QT_ADD_RESOURCES(_rcc_SOURCES ${_rcc_RESOURCES}) + +SET(GEOMGUI_SOURCES + GeometryGUI.cxx + GEOMGUI_AnnotationMgr.cxx + GEOMGUI.cxx + GEOMPluginGUI.cxx + GEOM_Displayer.cxx + GEOMGUI_OCCSelector.cxx + GEOMGUI_Selection.cxx + GEOMGUI_CreationInfoWdg.cxx + GEOMGUI_TextTreeWdg.cxx + GEOMGUI_TextTreeSelector.cxx + GEOMGUI_DimensionProperty.cxx + GEOMGUI_AnnotationAttrs.cxx + ${_moc_SOURCES} + ${_rcc_SOURCES} + ) + +# --- rules --- + +ADD_LIBRARY(GEOM ${GEOMGUI_SOURCES}) +TARGET_LINK_LIBRARIES(GEOM ${_link_LIBRARIES}) +INSTALL(TARGETS GEOM EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) + +INSTALL(FILES ${GEOMGUI_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) +QT_INSTALL_TS_RESOURCES("${_ts_RESOURCES}" "${SALOME_GEOM_INSTALL_RES_DATA}") diff --git a/src/GEOMImpl/CMakeLists.txt b/src/GEOMImpl/CMakeLists.txt index 1cf8478d3..979ea4ff7 100644 --- a/src/GEOMImpl/CMakeLists.txt +++ b/src/GEOMImpl/CMakeLists.txt @@ -51,7 +51,7 @@ SET(_link_LIBRARIES ${OpenCASCADE_ModelingAlgorithms_LIBRARIES} ${PYTHON_LIBRARIES} ShHealOper GEOMbasic BlockFix GEOMAlgo GEOMUtils GEOMSketcher GEOMArchimede XAO - ${KERNEL_SALOMELocalTrace} + SALOMELocalTrace ) # --- headers --- diff --git a/src/GEOMUtils/CMakeLists.txt b/src/GEOMUtils/CMakeLists.txt index 2b8902b7b..5f8da99ca 100644 --- a/src/GEOMUtils/CMakeLists.txt +++ b/src/GEOMUtils/CMakeLists.txt @@ -1,75 +1,75 @@ -# 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} - ${PTHREAD_INCLUDE_DIR} - ${LIBXML2_INCLUDE_DIR} - ${KERNEL_INCLUDE_DIRS} - ${CMAKE_CURRENT_SOURCE_DIR} - ) - -# additional preprocessor / compiler flags -ADD_DEFINITIONS( - ${OpenCASCADE_DEFINITIONS} - ${LIBXML2_DEFINITIONS} - ) - -# libraries to link to -SET(_link_LIBRARIES - ${OpenCASCADE_ModelingData_LIBRARIES} - ${OpenCASCADE_ModelingAlgorithms_LIBRARIES} - ${OpenCASCADE_Visualization_LIBRARIES} - ${LIBXML2_LIBRARIES} - ${KERNEL_SALOMELocalTrace} - ) - -# --- headers --- - -SET(GEOMUtils_HEADERS - GEOMUtils.hxx - GEOMUtils_Hatcher.hxx - GEOMUtils_HTrsfCurve2d.hxx - GEOMUtils_ShapeStatistics.hxx - GEOMUtils_Trsf2d.hxx - GEOMUtils_TrsfCurve2d.hxx - GEOMUtils_XmlHandler.hxx - ) -# --- sources --- - -SET(GEOMUtils_SOURCES - GEOMUtils.cxx - GEOMUtils_Hatcher.cxx - GEOMUtils_HTrsfCurve2d.cxx - GEOMUtils_ShapeStatistics.cxx - GEOMUtils_Trsf2d.cxx - GEOMUtils_TrsfCurve2d.cxx - GEOMUtils_XmlHandler.cxx - ) - -# --- rules --- - -ADD_LIBRARY(GEOMUtils ${GEOMUtils_SOURCES}) -TARGET_LINK_LIBRARIES(GEOMUtils ${_link_LIBRARIES}) -INSTALL(TARGETS GEOMUtils EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) - -INSTALL(FILES ${GEOMUtils_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} + ${PTHREAD_INCLUDE_DIR} + ${LIBXML2_INCLUDE_DIR} + ${KERNEL_INCLUDE_DIRS} + ${CMAKE_CURRENT_SOURCE_DIR} + ) + +# additional preprocessor / compiler flags +ADD_DEFINITIONS( + ${OpenCASCADE_DEFINITIONS} + ${LIBXML2_DEFINITIONS} + ) + +# libraries to link to +SET(_link_LIBRARIES + ${OpenCASCADE_ModelingData_LIBRARIES} + ${OpenCASCADE_ModelingAlgorithms_LIBRARIES} + ${OpenCASCADE_Visualization_LIBRARIES} + ${LIBXML2_LIBRARIES} + SALOMELocalTrace + ) + +# --- headers --- + +SET(GEOMUtils_HEADERS + GEOMUtils.hxx + GEOMUtils_Hatcher.hxx + GEOMUtils_HTrsfCurve2d.hxx + GEOMUtils_ShapeStatistics.hxx + GEOMUtils_Trsf2d.hxx + GEOMUtils_TrsfCurve2d.hxx + GEOMUtils_XmlHandler.hxx + ) +# --- sources --- + +SET(GEOMUtils_SOURCES + GEOMUtils.cxx + GEOMUtils_Hatcher.cxx + GEOMUtils_HTrsfCurve2d.cxx + GEOMUtils_ShapeStatistics.cxx + GEOMUtils_Trsf2d.cxx + GEOMUtils_TrsfCurve2d.cxx + GEOMUtils_XmlHandler.cxx + ) + +# --- rules --- + +ADD_LIBRARY(GEOMUtils ${GEOMUtils_SOURCES}) +TARGET_LINK_LIBRARIES(GEOMUtils ${_link_LIBRARIES}) +INSTALL(TARGETS GEOMUtils EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) + +INSTALL(FILES ${GEOMUtils_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) diff --git a/src/GEOM_I/CMakeLists.txt b/src/GEOM_I/CMakeLists.txt index 9afdc0497..0b0990186 100644 --- a/src/GEOM_I/CMakeLists.txt +++ b/src/GEOM_I/CMakeLists.txt @@ -52,7 +52,7 @@ SET(_link_LIBRARIES GEOMImpl GEOMUtils SalomeIDLGEOM - ${KERNEL_SALOMELocalTrace} + SALOMELocalTrace ${KERNEL_SalomeGenericObj} ${KERNEL_TOOLSDS} ${KERNEL_SalomeContainer} diff --git a/src/GEOM_I_Superv/CMakeLists.txt b/src/GEOM_I_Superv/CMakeLists.txt index ce0e3203a..991e4a05b 100644 --- a/src/GEOM_I_Superv/CMakeLists.txt +++ b/src/GEOM_I_Superv/CMakeLists.txt @@ -1,76 +1,76 @@ -# 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} - ${PTHREAD_INCLUDE_DIR} - ${KERNEL_INCLUDE_DIRS} - ${PROJECT_BINARY_DIR}/idl - ${CMAKE_CURRENT_SOURCE_DIR} - ) - -# additional preprocessor / compiler flags -ADD_DEFINITIONS( - ${OpenCASCADE_DEFINITIONS} - ${OMNIORB_DEFINITIONS} - ) - -# libraries to link to -SET(_link_LIBRARIES - SalomeIDLGEOM - SalomeIDLGEOMSuperv - SalomeIDLAdvancedGEOM - SalomeIDLBREPPlugin - SalomeIDLIGESPlugin - SalomeIDLSTEPPlugin - SalomeIDLSTLPlugin - SalomeIDLXAOPlugin - ${KERNEL_SALOMELocalTrace} - ${KERNEL_SalomeDSClient} - ${KERNEL_SalomeLifeCycleCORBA} - ${KERNEL_SalomeContainer} - ${KERNEL_SalomeNS} - ) - -IF(SALOME_GEOM_USE_VTK) - SET(_link_LIBRARIES ${_link_LIBRARIES} - SalomeIDLVTKPlugin) -ENDIF(SALOME_GEOM_USE_VTK) -# --- headers --- - -SET(GEOM_SupervEngine_HEADERS - GEOM_Superv_i.hh - GEOM_List_i.hh - GEOM_I_Superv.hxx - ) -# --- sources --- - -SET(GEOM_SupervEngine_SOURCES - GEOM_Superv_i.cc - ) - -# --- rules --- - -ADD_LIBRARY(GEOM_SupervEngine ${GEOM_SupervEngine_SOURCES}) -TARGET_LINK_LIBRARIES(GEOM_SupervEngine ${_link_LIBRARIES}) -INSTALL(TARGETS GEOM_SupervEngine EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) - +# 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} + ${PTHREAD_INCLUDE_DIR} + ${KERNEL_INCLUDE_DIRS} + ${PROJECT_BINARY_DIR}/idl + ${CMAKE_CURRENT_SOURCE_DIR} + ) + +# additional preprocessor / compiler flags +ADD_DEFINITIONS( + ${OpenCASCADE_DEFINITIONS} + ${OMNIORB_DEFINITIONS} + ) + +# libraries to link to +SET(_link_LIBRARIES + SalomeIDLGEOM + SalomeIDLGEOMSuperv + SalomeIDLAdvancedGEOM + SalomeIDLBREPPlugin + SalomeIDLIGESPlugin + SalomeIDLSTEPPlugin + SalomeIDLSTLPlugin + SalomeIDLXAOPlugin + SALOMELocalTrace + ${KERNEL_SalomeDSClient} + ${KERNEL_SalomeLifeCycleCORBA} + ${KERNEL_SalomeContainer} + ${KERNEL_SalomeNS} + ) + +IF(SALOME_GEOM_USE_VTK) + SET(_link_LIBRARIES ${_link_LIBRARIES} + SalomeIDLVTKPlugin) +ENDIF(SALOME_GEOM_USE_VTK) +# --- headers --- + +SET(GEOM_SupervEngine_HEADERS + GEOM_Superv_i.hh + GEOM_List_i.hh + GEOM_I_Superv.hxx + ) +# --- sources --- + +SET(GEOM_SupervEngine_SOURCES + GEOM_Superv_i.cc + ) + +# --- rules --- + +ADD_LIBRARY(GEOM_SupervEngine ${GEOM_SupervEngine_SOURCES}) +TARGET_LINK_LIBRARIES(GEOM_SupervEngine ${_link_LIBRARIES}) +INSTALL(TARGETS GEOM_SupervEngine EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) + diff --git a/src/IGESPlugin/CMakeLists.txt b/src/IGESPlugin/CMakeLists.txt index 16f24d72f..5ac376231 100644 --- a/src/IGESPlugin/CMakeLists.txt +++ b/src/IGESPlugin/CMakeLists.txt @@ -65,7 +65,7 @@ ENDIF() # libraries to link to SET(_link_engine_LIBRARIES ${OpenCASCADE_DataExchange_LIBRARIES} - ${KERNEL_SALOMELocalTrace} + SALOMELocalTrace ${KERNEL_OpUtil} SalomeIDLGEOM SalomeIDLIGESPlugin diff --git a/src/Material/CMakeLists.txt b/src/Material/CMakeLists.txt index adfd07160..6a4a56a43 100644 --- a/src/Material/CMakeLists.txt +++ b/src/Material/CMakeLists.txt @@ -1,87 +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 -# - -INCLUDE(UseQtExt) - -# --- options --- - -# additional include directories -INCLUDE_DIRECTORIES( - ${QT_INCLUDE_DIRS} - ${OMNIORB_INCLUDE_DIR} - ${OpenCASCADE_INCLUDE_DIR} - ${KERNEL_INCLUDE_DIRS} - ${GUI_INCLUDE_DIRS} - ${PROJECT_BINARY_DIR}/idl - ${PROJECT_BINARY_DIR} - ${PROJECT_SOURCE_DIR}/src/OBJECT - ${CMAKE_CURRENT_SOURCE_DIR} - ) - -# additional preprocessor / compiler flags -ADD_DEFINITIONS( - ${OpenCASCADE_DEFINITIONS} - ${OMNIORB_DEFINITIONS} - ${QT_DEFINITIONS} - ) - -# libraries to link to -SET(_link_LIBRARIES - GEOMObject - GEOMClient - ${OpenCASCADE_ModelingData_LIBRARIES} - ${KERNEL_SALOMELocalTrace} - ) - -# --- headers --- - -SET(Material_HEADERS - Material.h - Material_Model.h - Material_ResourceMgr.h - ) - -# header files / to be processed by moc -SET(_moc_HEADERS Material_ResourceMgr.h) - -# --- sources --- - -# sources / moc wrappings -QT_WRAP_MOC(_moc_SOURCES ${_moc_HEADERS}) - -SET(Material_SOURCES - Material_Model.cxx - Material_ResourceMgr.cxx - ${_moc_SOURCES} - ) - -# --- resources --- - -SET(Material_RESOURCES - resources/SalomeMaterial.xml - ) - -# --- rules --- - -ADD_LIBRARY(Material ${Material_SOURCES}) -TARGET_LINK_LIBRARIES(Material ${_link_LIBRARIES}) -INSTALL(TARGETS Material EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) - -INSTALL(FILES ${Material_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) -INSTALL(FILES ${Material_RESOURCES} DESTINATION ${SALOME_GEOM_INSTALL_RES_DATA}) +# 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(UseQtExt) + +# --- options --- + +# additional include directories +INCLUDE_DIRECTORIES( + ${QT_INCLUDE_DIRS} + ${OMNIORB_INCLUDE_DIR} + ${OpenCASCADE_INCLUDE_DIR} + ${KERNEL_INCLUDE_DIRS} + ${GUI_INCLUDE_DIRS} + ${PROJECT_BINARY_DIR}/idl + ${PROJECT_BINARY_DIR} + ${PROJECT_SOURCE_DIR}/src/OBJECT + ${CMAKE_CURRENT_SOURCE_DIR} + ) + +# additional preprocessor / compiler flags +ADD_DEFINITIONS( + ${OpenCASCADE_DEFINITIONS} + ${OMNIORB_DEFINITIONS} + ${QT_DEFINITIONS} + ) + +# libraries to link to +SET(_link_LIBRARIES + GEOMObject + GEOMClient + ${OpenCASCADE_ModelingData_LIBRARIES} + SALOMELocalTrace + ) + +# --- headers --- + +SET(Material_HEADERS + Material.h + Material_Model.h + Material_ResourceMgr.h + ) + +# header files / to be processed by moc +SET(_moc_HEADERS Material_ResourceMgr.h) + +# --- sources --- + +# sources / moc wrappings +QT_WRAP_MOC(_moc_SOURCES ${_moc_HEADERS}) + +SET(Material_SOURCES + Material_Model.cxx + Material_ResourceMgr.cxx + ${_moc_SOURCES} + ) + +# --- resources --- + +SET(Material_RESOURCES + resources/SalomeMaterial.xml + ) + +# --- rules --- + +ADD_LIBRARY(Material ${Material_SOURCES}) +TARGET_LINK_LIBRARIES(Material ${_link_LIBRARIES}) +INSTALL(TARGETS Material EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) + +INSTALL(FILES ${Material_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) +INSTALL(FILES ${Material_RESOURCES} DESTINATION ${SALOME_GEOM_INSTALL_RES_DATA}) diff --git a/src/OBJECT/CMakeLists.txt b/src/OBJECT/CMakeLists.txt index 39caafd96..764f26540 100644 --- a/src/OBJECT/CMakeLists.txt +++ b/src/OBJECT/CMakeLists.txt @@ -1,103 +1,103 @@ -# 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( - ${PTHREAD_INCLUDE_DIR} - ${OMNIORB_INCLUDE_DIR} - ${OpenCASCADE_INCLUDE_DIR} - ${KERNEL_INCLUDE_DIRS} - ${GUI_INCLUDE_DIRS} - ${PROJECT_BINARY_DIR}/idl - ${PROJECT_BINARY_DIR} - ${PROJECT_SOURCE_DIR}/src/OCC2VTK - ${PROJECT_SOURCE_DIR}/src/GEOMUtils - ${CMAKE_CURRENT_SOURCE_DIR} - ) - -# additional preprocessor / compiler flags -ADD_DEFINITIONS( - ${OpenCASCADE_DEFINITIONS} - ${OMNIORB_DEFINITIONS} - ${QT_DEFINITIONS} - ) - -# libraries to link to -SET(_link_LIBRARIES - OCC2VTK - SalomeIDLGEOM - ${OpenCASCADE_ModelingData_LIBRARIES} - ${OpenCASCADE_Visualization_LIBRARIES} - ${KERNEL_SALOMELocalTrace} - ${GUI_SVTK} - ${QT_QTCORE_LIBRARY} - VTK::RenderingMatplotlib - VTK::InteractionStyle - VTK::IOLegacy - GEOMUtils - ) - -# --- headers --- - -SET(OBJECT_HEADERS - GEOM_Actor.h - GEOM_AISShape.hxx - GEOM_TopWireframeShape.hxx - GEOM_InteractiveObject.hxx - GEOM_AISTrihedron.hxx - GEOM_VTKTrihedron.hxx - GEOM_VTKPropertyMaterial.hxx - GEOM_AISVector.hxx - GEOM_OBJECT_defs.hxx - GEOM_OCCReader.h - GEOM_SmartPtr.h - GEOM_PainterPolyDataMapper.h - GEOM_DeviceActor.h - GEOM_Constants.h - GEOM_AISDimension.hxx - GEOM_Annotation.hxx - ) -# --- sources --- - -SET(OBJECT_SOURCES - GEOM_Actor.cxx - GEOM_OCCReader.cxx - GEOM_AISShape.cxx - GEOM_TopWireframeShape.cxx - GEOM_InteractiveObject.cxx - GEOM_AISTrihedron.cxx - GEOM_VTKTrihedron.cxx - GEOM_VTKPropertyMaterial.cxx - GEOM_AISVector.cxx - GEOM_PainterPolyDataMapper.cxx - GEOM_DeviceActor.cxx - GEOM_Constants.cxx - GEOM_AISDimension.cxx - GEOM_Annotation.cxx - ) - -# --- rules --- - -ADD_LIBRARY(GEOMObject ${OBJECT_SOURCES}) -TARGET_LINK_LIBRARIES(GEOMObject ${_link_LIBRARIES}) -INSTALL(TARGETS GEOMObject EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) - -INSTALL(FILES ${OBJECT_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( + ${PTHREAD_INCLUDE_DIR} + ${OMNIORB_INCLUDE_DIR} + ${OpenCASCADE_INCLUDE_DIR} + ${KERNEL_INCLUDE_DIRS} + ${GUI_INCLUDE_DIRS} + ${PROJECT_BINARY_DIR}/idl + ${PROJECT_BINARY_DIR} + ${PROJECT_SOURCE_DIR}/src/OCC2VTK + ${PROJECT_SOURCE_DIR}/src/GEOMUtils + ${CMAKE_CURRENT_SOURCE_DIR} + ) + +# additional preprocessor / compiler flags +ADD_DEFINITIONS( + ${OpenCASCADE_DEFINITIONS} + ${OMNIORB_DEFINITIONS} + ${QT_DEFINITIONS} + ) + +# libraries to link to +SET(_link_LIBRARIES + OCC2VTK + SalomeIDLGEOM + ${OpenCASCADE_ModelingData_LIBRARIES} + ${OpenCASCADE_Visualization_LIBRARIES} + SALOMELocalTrace + ${GUI_SVTK} + ${QT_QTCORE_LIBRARY} + VTK::RenderingMatplotlib + VTK::InteractionStyle + VTK::IOLegacy + GEOMUtils + ) + +# --- headers --- + +SET(OBJECT_HEADERS + GEOM_Actor.h + GEOM_AISShape.hxx + GEOM_TopWireframeShape.hxx + GEOM_InteractiveObject.hxx + GEOM_AISTrihedron.hxx + GEOM_VTKTrihedron.hxx + GEOM_VTKPropertyMaterial.hxx + GEOM_AISVector.hxx + GEOM_OBJECT_defs.hxx + GEOM_OCCReader.h + GEOM_SmartPtr.h + GEOM_PainterPolyDataMapper.h + GEOM_DeviceActor.h + GEOM_Constants.h + GEOM_AISDimension.hxx + GEOM_Annotation.hxx + ) +# --- sources --- + +SET(OBJECT_SOURCES + GEOM_Actor.cxx + GEOM_OCCReader.cxx + GEOM_AISShape.cxx + GEOM_TopWireframeShape.cxx + GEOM_InteractiveObject.cxx + GEOM_AISTrihedron.cxx + GEOM_VTKTrihedron.cxx + GEOM_VTKPropertyMaterial.cxx + GEOM_AISVector.cxx + GEOM_PainterPolyDataMapper.cxx + GEOM_DeviceActor.cxx + GEOM_Constants.cxx + GEOM_AISDimension.cxx + GEOM_Annotation.cxx + ) + +# --- rules --- + +ADD_LIBRARY(GEOMObject ${OBJECT_SOURCES}) +TARGET_LINK_LIBRARIES(GEOMObject ${_link_LIBRARIES}) +INSTALL(TARGETS GEOMObject EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) + +INSTALL(FILES ${OBJECT_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) diff --git a/src/OCC2VTK/CMakeLists.txt b/src/OCC2VTK/CMakeLists.txt index f49d24058..bbaaef035 100644 --- a/src/OCC2VTK/CMakeLists.txt +++ b/src/OCC2VTK/CMakeLists.txt @@ -1,75 +1,75 @@ -# 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} - ${KERNEL_INCLUDE_DIRS} - ${CMAKE_CURRENT_SOURCE_DIR} - ${PROJECT_SOURCE_DIR}/src/GEOMUtils - ) - -# additional preprocessor / compiler flags -ADD_DEFINITIONS( - ${OpenCASCADE_DEFINITIONS} - ) - -# libraries to link to -SET(_link_LIBRARIES - VTK::FiltersCore - ${OpenCASCADE_FoundationClasses_LIBRARIES} - ${OpenCASCADE_ModelingAlgorithms_LIBRARIES} - ${KERNEL_SALOMELocalTrace} - GEOMUtils - ) - -# --- headers --- - -SET(OCC2VTK_HEADERS - OCC2VTK.h - OCC2VTK_Tools.h - GEOM_EdgeSource.h - GEOM_FaceSource.h - GEOM_ShadingFace.h - GEOM_VertexSource.h - GEOM_WireframeFace.h - ) - -# --- sources --- - -SET(OCC2VTK_SOURCES - OCC2VTK_Tools.cxx - GEOM_EdgeSource.cxx - GEOM_FaceSource.cxx - GEOM_ShadingFace.cxx - GEOM_VertexSource.cxx - GEOM_WireframeFace.cxx - ) - -# --- rules --- - -ADD_LIBRARY(OCC2VTK ${OCC2VTK_SOURCES}) -TARGET_LINK_LIBRARIES(OCC2VTK ${_link_LIBRARIES}) -INSTALL(TARGETS OCC2VTK EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) - -INSTALL(FILES ${OCC2VTK_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} + ${KERNEL_INCLUDE_DIRS} + ${CMAKE_CURRENT_SOURCE_DIR} + ${PROJECT_SOURCE_DIR}/src/GEOMUtils + ) + +# additional preprocessor / compiler flags +ADD_DEFINITIONS( + ${OpenCASCADE_DEFINITIONS} + ) + +# libraries to link to +SET(_link_LIBRARIES + VTK::FiltersCore + ${OpenCASCADE_FoundationClasses_LIBRARIES} + ${OpenCASCADE_ModelingAlgorithms_LIBRARIES} + SALOMELocalTrace + GEOMUtils + ) + +# --- headers --- + +SET(OCC2VTK_HEADERS + OCC2VTK.h + OCC2VTK_Tools.h + GEOM_EdgeSource.h + GEOM_FaceSource.h + GEOM_ShadingFace.h + GEOM_VertexSource.h + GEOM_WireframeFace.h + ) + +# --- sources --- + +SET(OCC2VTK_SOURCES + OCC2VTK_Tools.cxx + GEOM_EdgeSource.cxx + GEOM_FaceSource.cxx + GEOM_ShadingFace.cxx + GEOM_VertexSource.cxx + GEOM_WireframeFace.cxx + ) + +# --- rules --- + +ADD_LIBRARY(OCC2VTK ${OCC2VTK_SOURCES}) +TARGET_LINK_LIBRARIES(OCC2VTK ${_link_LIBRARIES}) +INSTALL(TARGETS OCC2VTK EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) + +INSTALL(FILES ${OCC2VTK_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) + + diff --git a/src/SKETCHER/CMakeLists.txt b/src/SKETCHER/CMakeLists.txt index 22230e468..ee609caef 100644 --- a/src/SKETCHER/CMakeLists.txt +++ b/src/SKETCHER/CMakeLists.txt @@ -1,65 +1,65 @@ -# 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} - ${KERNEL_INCLUDE_DIRS} - ${PTHREAD_INCLUDE_DIR} - ) - -# additional preprocessor / compiler flags -ADD_DEFINITIONS( - ${OpenCASCADE_DEFINITIONS} - ) - -# libraries to link to -SET(_link_LIBRARIES - ${OpenCASCADE_FoundationClasses_LIBRARIES} - ${OpenCASCADE_ModelingAlgorithms_LIBRARIES} - ${OpenCASCADE_ModelingData_LIBRARIES} - ${KERNEL_SALOMELocalTrace} - ) - -# --- headers --- - -SET(SKETCHER_HEADERS - Sketcher.hxx - Sketcher_Profile.hxx - Sketcher_Utils.hxx - ) - -# --- sources --- - -SET(SKETCHER_SOURCES - Sketcher_Profile.cxx - Sketcher_Utils.cxx - ) - -# --- rules --- - -ADD_LIBRARY(GEOMSketcher ${SKETCHER_SOURCES}) -TARGET_LINK_LIBRARIES(GEOMSketcher ${_link_LIBRARIES}) -INSTALL(TARGETS GEOMSketcher EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) - -INSTALL(FILES ${SKETCHER_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} + ${KERNEL_INCLUDE_DIRS} + ${PTHREAD_INCLUDE_DIR} + ) + +# additional preprocessor / compiler flags +ADD_DEFINITIONS( + ${OpenCASCADE_DEFINITIONS} + ) + +# libraries to link to +SET(_link_LIBRARIES + ${OpenCASCADE_FoundationClasses_LIBRARIES} + ${OpenCASCADE_ModelingAlgorithms_LIBRARIES} + ${OpenCASCADE_ModelingData_LIBRARIES} + SALOMELocalTrace + ) + +# --- headers --- + +SET(SKETCHER_HEADERS + Sketcher.hxx + Sketcher_Profile.hxx + Sketcher_Utils.hxx + ) + +# --- sources --- + +SET(SKETCHER_SOURCES + Sketcher_Profile.cxx + Sketcher_Utils.cxx + ) + +# --- rules --- + +ADD_LIBRARY(GEOMSketcher ${SKETCHER_SOURCES}) +TARGET_LINK_LIBRARIES(GEOMSketcher ${_link_LIBRARIES}) +INSTALL(TARGETS GEOMSketcher EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) + +INSTALL(FILES ${SKETCHER_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) + + diff --git a/src/STEPPlugin/CMakeLists.txt b/src/STEPPlugin/CMakeLists.txt index b30d761a3..5e65dfc41 100644 --- a/src/STEPPlugin/CMakeLists.txt +++ b/src/STEPPlugin/CMakeLists.txt @@ -65,7 +65,7 @@ ENDIF() # libraries to link to SET(_link_engine_LIBRARIES ${OpenCASCADE_DataExchange_LIBRARIES} - ${KERNEL_SALOMELocalTrace} + SALOMELocalTrace ${KERNEL_OpUtil} SalomeIDLGEOM SalomeIDLSTEPPlugin diff --git a/src/STLPlugin/CMakeLists.txt b/src/STLPlugin/CMakeLists.txt index 63d08d0b9..9af50da4f 100644 --- a/src/STLPlugin/CMakeLists.txt +++ b/src/STLPlugin/CMakeLists.txt @@ -65,7 +65,7 @@ ENDIF() # libraries to link to SET(_link_engine_LIBRARIES ${OpenCASCADE_DataExchange_LIBRARIES} - ${KERNEL_SALOMELocalTrace} + SALOMELocalTrace ${KERNEL_OpUtil} SalomeIDLGEOM SalomeIDLSTLPlugin diff --git a/src/ShHealOper/CMakeLists.txt b/src/ShHealOper/CMakeLists.txt index d0c3bdd70..ca06f4b04 100644 --- a/src/ShHealOper/CMakeLists.txt +++ b/src/ShHealOper/CMakeLists.txt @@ -1,79 +1,79 @@ -# 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} - ${KERNEL_INCLUDE_DIRS} - ${CMAKE_CURRENT_SOURCE_DIR} - ) - -# additional preprocessor / compiler flags -ADD_DEFINITIONS( - ${OpenCASCADE_DEFINITIONS} - ) - -# libraries to link to -SET(_link_LIBRARIES - ${OpenCASCADE_ApplicationFramework_LIBRARIES} ${OpenCASCADE_ModelingAlgorithms_LIBRARIES} - ${KERNEL_SALOMELocalTrace} - ) - -# --- headers --- - -SET(ShHealOper_HEADERS - ShHealOper_CloseContour.hxx - ShHealOper_EdgeDivide.hxx - ShHealOper_FillHoles.hxx - ShHealOper_RemoveFace.hxx - ShHealOper_RemoveInternalWires.hxx - ShHealOper_Sewing.hxx - ShHealOper_ShapeProcess.hxx - ShHealOper_SpiltCurve2d.hxx - ShHealOper_SplitCurve2d.hxx - ShHealOper_SplitCurve3d.hxx - ShHealOper_ChangeOrientation.hxx - ShHealOper_Tool.hxx - ShHealOper_ModifStats.hxx - ) -# --- sources --- - -SET(ShHealOper_SOURCES - ShHealOper_CloseContour.cxx - ShHealOper_EdgeDivide.cxx - ShHealOper_FillHoles.cxx - ShHealOper_RemoveFace.cxx - ShHealOper_RemoveInternalWires.cxx - ShHealOper_Sewing.cxx - ShHealOper_ShapeProcess.cxx - ShHealOper_SplitCurve2d.cxx - ShHealOper_SplitCurve3d.cxx - ShHealOper_ChangeOrientation.cxx - ShHealOper_Tool.cxx - ) - -# --- rules --- - -ADD_LIBRARY(ShHealOper ${ShHealOper_SOURCES}) -TARGET_LINK_LIBRARIES(ShHealOper ${_link_LIBRARIES}) -INSTALL(TARGETS ShHealOper EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) - -INSTALL(FILES ${ShHealOper_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} + ${KERNEL_INCLUDE_DIRS} + ${CMAKE_CURRENT_SOURCE_DIR} + ) + +# additional preprocessor / compiler flags +ADD_DEFINITIONS( + ${OpenCASCADE_DEFINITIONS} + ) + +# libraries to link to +SET(_link_LIBRARIES + ${OpenCASCADE_ApplicationFramework_LIBRARIES} ${OpenCASCADE_ModelingAlgorithms_LIBRARIES} + SALOMELocalTrace + ) + +# --- headers --- + +SET(ShHealOper_HEADERS + ShHealOper_CloseContour.hxx + ShHealOper_EdgeDivide.hxx + ShHealOper_FillHoles.hxx + ShHealOper_RemoveFace.hxx + ShHealOper_RemoveInternalWires.hxx + ShHealOper_Sewing.hxx + ShHealOper_ShapeProcess.hxx + ShHealOper_SpiltCurve2d.hxx + ShHealOper_SplitCurve2d.hxx + ShHealOper_SplitCurve3d.hxx + ShHealOper_ChangeOrientation.hxx + ShHealOper_Tool.hxx + ShHealOper_ModifStats.hxx + ) +# --- sources --- + +SET(ShHealOper_SOURCES + ShHealOper_CloseContour.cxx + ShHealOper_EdgeDivide.cxx + ShHealOper_FillHoles.cxx + ShHealOper_RemoveFace.cxx + ShHealOper_RemoveInternalWires.cxx + ShHealOper_Sewing.cxx + ShHealOper_ShapeProcess.cxx + ShHealOper_SplitCurve2d.cxx + ShHealOper_SplitCurve3d.cxx + ShHealOper_ChangeOrientation.cxx + ShHealOper_Tool.cxx + ) + +# --- rules --- + +ADD_LIBRARY(ShHealOper ${ShHealOper_SOURCES}) +TARGET_LINK_LIBRARIES(ShHealOper ${_link_LIBRARIES}) +INSTALL(TARGETS ShHealOper EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) + +INSTALL(FILES ${ShHealOper_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) diff --git a/src/ShapeRecognition/CMakeLists.txt b/src/ShapeRecognition/CMakeLists.txt index 21f3cb478..6f77bdc6b 100644 --- a/src/ShapeRecognition/CMakeLists.txt +++ b/src/ShapeRecognition/CMakeLists.txt @@ -1,63 +1,63 @@ -# 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} - ${OPENCV_INCLUDE_DIR} - ${QT_INCLUDES} - ${CMAKE_CURRENT_SOURCE_DIR} - ) - -# additional preprocessor / compiler flags -ADD_DEFINITIONS( - ${QT_DEFINITIONS} - ) - -SET(QT_QTCORE_LIB ${Qt5Core_LIBRARIES}) - -# libraries to link to -SET(_link_LIBRARIES - ${OpenCV_LIBS} - ${QT_QTCORE_LIB} - ${KERNEL_SALOMELocalTrace} - ) - -# --- headers --- - -SET(ShapeRecognition_HEADERS - ShapeRec_FeatureDetector.hxx - ) - -# --- sources --- - -SET(ShapeRecognition_SOURCES - ShapeRec_FeatureDetector.cxx - ) - -# --- rules --- - -ADD_LIBRARY(GEOMShapeRec ${ShapeRecognition_SOURCES}) -TARGET_LINK_LIBRARIES(GEOMShapeRec ${_link_LIBRARIES}) -INSTALL(TARGETS GEOMShapeRec EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) - -#INSTALL(FILES ${ShapeRecognition_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} + ${OPENCV_INCLUDE_DIR} + ${QT_INCLUDES} + ${CMAKE_CURRENT_SOURCE_DIR} + ) + +# additional preprocessor / compiler flags +ADD_DEFINITIONS( + ${QT_DEFINITIONS} + ) + +SET(QT_QTCORE_LIB ${Qt5Core_LIBRARIES}) + +# libraries to link to +SET(_link_LIBRARIES + ${OpenCV_LIBS} + ${QT_QTCORE_LIB} + SALOMELocalTrace + ) + +# --- headers --- + +SET(ShapeRecognition_HEADERS + ShapeRec_FeatureDetector.hxx + ) + +# --- sources --- + +SET(ShapeRecognition_SOURCES + ShapeRec_FeatureDetector.cxx + ) + +# --- rules --- + +ADD_LIBRARY(GEOMShapeRec ${ShapeRecognition_SOURCES}) +TARGET_LINK_LIBRARIES(GEOMShapeRec ${_link_LIBRARIES}) +INSTALL(TARGETS GEOMShapeRec EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) + +#INSTALL(FILES ${ShapeRecognition_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) diff --git a/src/VTKPlugin/CMakeLists.txt b/src/VTKPlugin/CMakeLists.txt index 7437a355b..fa8fe8722 100644 --- a/src/VTKPlugin/CMakeLists.txt +++ b/src/VTKPlugin/CMakeLists.txt @@ -65,7 +65,7 @@ ENDIF() # libraries to link to SET(_link_engine_LIBRARIES - ${KERNEL_SALOMELocalTrace} + SALOMELocalTrace ${KERNEL_OpUtil} SalomeIDLGEOM SalomeIDLVTKPlugin diff --git a/src/XAOPlugin/CMakeLists.txt b/src/XAOPlugin/CMakeLists.txt index 62571cb00..439b77c3b 100644 --- a/src/XAOPlugin/CMakeLists.txt +++ b/src/XAOPlugin/CMakeLists.txt @@ -66,7 +66,7 @@ ENDIF() # libraries to link to SET(_link_engine_LIBRARIES - ${KERNEL_SALOMELocalTrace} + SALOMELocalTrace ${KERNEL_OpUtil} SalomeIDLGEOM SalomeIDLXAOPlugin