X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FSketchSolver%2FPlaneGCSSolver%2FCMakeLists.txt;h=263cfdbb714bab33d45c187705639bd83fd66b50;hb=06e7f5859095193fc7f498bd89a7d28009794f53;hp=722d0ed24b14dec4cbaaf91d8e78323d1aaefab7;hpb=b3695c3af5289903f1c0fa01bbb7c40203c5e544;p=modules%2Fshaper.git diff --git a/src/SketchSolver/PlaneGCSSolver/CMakeLists.txt b/src/SketchSolver/PlaneGCSSolver/CMakeLists.txt index 722d0ed24..263cfdbb7 100644 --- a/src/SketchSolver/PlaneGCSSolver/CMakeLists.txt +++ b/src/SketchSolver/PlaneGCSSolver/CMakeLists.txt @@ -1,22 +1,21 @@ -## Copyright (C) 2014-2017 CEA/DEN, EDF R&D -## -## 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 -## +# Copyright (C) 2014-2023 CEA, EDF +# +# 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 +# FIND_PACKAGE(PlaneGCS REQUIRED) @@ -26,11 +25,15 @@ SET(PLANEGCSSOLVER_HEADERS PlaneGCSSolver_Storage.h PlaneGCSSolver_ConstraintWrapper.h PlaneGCSSolver_EdgeWrapper.h - PlaneGCSSolver_EdgeWrapper.h + PlaneGCSSolver_EntityWrapper.h PlaneGCSSolver_PointWrapper.h + PlaneGCSSolver_PointArrayWrapper.h PlaneGCSSolver_ScalarWrapper.h + PlaneGCSSolver_ScalarArrayWrapper.h PlaneGCSSolver_AngleWrapper.h + PlaneGCSSolver_BooleanWrapper.h PlaneGCSSolver_Tools.h + PlaneGCSSolver_GeoExtensions.h ) SET(PLANEGCSSOLVER_SOURCES @@ -39,9 +42,13 @@ SET(PLANEGCSSOLVER_SOURCES PlaneGCSSolver_ConstraintWrapper.cpp PlaneGCSSolver_EdgeWrapper.cpp PlaneGCSSolver_PointWrapper.cpp + PlaneGCSSolver_PointArrayWrapper.cpp PlaneGCSSolver_ScalarWrapper.cpp + PlaneGCSSolver_ScalarArrayWrapper.cpp PlaneGCSSolver_AngleWrapper.cpp + PlaneGCSSolver_BooleanWrapper.cpp PlaneGCSSolver_Tools.cpp + PlaneGCSSolver_GeoExtensions.cpp ) SET(PLANEGCSSOLVER_BUILDER_HEADERS @@ -116,6 +123,9 @@ if(${SKETCHER_CHANGE_RADIUS_WHEN_MOVE}) ADD_DEFINITIONS(-DCHANGE_RADIUS_WHILE_MOVE) endif() +##ADD_DEFINITIONS(-Wno-deprecated -Wignored-attributes -Wmisleading-indentation -Wreorder) +ADD_DEFINITIONS(-w) + ADD_LIBRARY(PlaneGCSSolver MODULE ${PROJECT_SOURCES} ${PROJECT_HEADERS} ${SKETCHSOLVER_TEXT_RESOURCES}) TARGET_LINK_LIBRARIES(PlaneGCSSolver ${PROJECT_LIBRARIES} ${SKETCHSOLVER_LIBRARIES}) INSTALL(TARGETS PlaneGCSSolver DESTINATION ${SHAPER_INSTALL_PLUGIN_FILES})