X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMESHUtils%2FCMakeLists.txt;h=4002a872a9b8be3d796270a19c5e7db063362fde;hp=bd1f13ce4785d67d7164f1d0f2c570e5e296d037;hb=d9f4b53e489dd5857db264ede6acded7b076c9f1;hpb=1bd4ba8acdfe7ab1edc96a016836e174a393d445 diff --git a/src/SMESHUtils/CMakeLists.txt b/src/SMESHUtils/CMakeLists.txt index bd1f13ce4..4002a872a 100644 --- a/src/SMESHUtils/CMakeLists.txt +++ b/src/SMESHUtils/CMakeLists.txt @@ -1,9 +1,9 @@ -# Copyright (C) 2012-2013 CEA/DEN, EDF R&D, OPEN CASCADE +# Copyright (C) 2012-2022 CEA/DEN, EDF R&D, 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. +# 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 @@ -21,27 +21,24 @@ # additional include directories INCLUDE_DIRECTORIES( ${KERNEL_INCLUDE_DIRS} - ${CAS_INCLUDE_DIRS} - ${VTK_INCLUDE_DIRS} + ${OpenCASCADE_INCLUDE_DIR} ${Boost_INCLUDE_DIRS} ${PROJECT_SOURCE_DIR}/src/SMDS - ${PROJECT_SOURCE_DIR}/src/SMESHDS ) # additional preprocessor / compiler flags ADD_DEFINITIONS( - ${CAS_DEFINITIONS} + ${OpenCASCADE_DEFINITIONS} ${BOOST_DEFINITIONS} ) # libraries to link to SET(_link_LIBRARIES - ${CAS_TKShHealing} - ${CAS_TKPrim} - ${CAS_TKG2d} - ${CAS_TKG3d} - ${CAS_TKGeomBase} - SMESHDS + ${OpenCASCADE_ModelingAlgorithms_LIBRARIES} + ${OpenCASCADE_FoundationClasses_LIBRARIES} + ${OpenCASCADE_ModelingData_LIBRARIES} + ${Boost_LIBRARIES} + SMDS ) # --- headers --- @@ -60,7 +57,13 @@ SET(SMESHUtils_HEADERS SMESH_Utils.hxx SMESH_TryCatch.hxx SMESH_MeshAlgos.hxx -) + SMESH_MAT2d.hxx + SMESH_ControlPnt.hxx + SMESH_Delaunay.hxx + SMESH_Indexer.hxx + SMESH_BoostTxtArchive.hxx + SMESH_MGLicenseKeyGen.hxx + ) # --- sources --- @@ -73,7 +76,19 @@ SET(SMESHUtils_SOURCES SMESH_TryCatch.cxx SMESH_File.cxx SMESH_MeshAlgos.cxx -) + SMESH_MAT2d.cxx + SMESH_FreeBorders.cxx + SMESH_ControlPnt.cxx + SMESH_DeMerge.cxx + SMESH_Delaunay.cxx + SMESH_FillHole.cxx + SMESH_Triangulate.cxx + SMESH_Offset.cxx + SMESH_Slot.cxx + SMESH_PolyLine.cxx + SMESH_BoostTxtArchive.cxx + SMESH_MGLicenseKeyGen.cxx + ) # --- rules ---