X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelAPI%2FCMakeLists.txt;h=58249a22192e844bd8a5ffe50c9e218d4a244ac1;hb=33d191c57ab22ff6e84ea27e69537670d242d336;hp=c1e32f58ed793272d50ac506ebe04835e3224a67;hpb=1ef44c5fb4825914f554e37f4f38c1f379508142;p=modules%2Fshaper.git diff --git a/src/ModelAPI/CMakeLists.txt b/src/ModelAPI/CMakeLists.txt index c1e32f58e..58249a221 100644 --- a/src/ModelAPI/CMakeLists.txt +++ b/src/ModelAPI/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-2019 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 +# FIND_PACKAGE(SWIG REQUIRED) INCLUDE(${SWIG_USE_FILE}) @@ -66,6 +65,7 @@ SET(PROJECT_HEADERS ModelAPI_Tools.h ModelAPI_Validator.h ModelAPI_Entity.h + ModelAPI_Filter.h ) SET(PROJECT_SOURCES @@ -114,7 +114,7 @@ SET(PROJECT_LIBRARIES Config GeomAPI ) -SET(CMAKE_SWIG_FLAGS -threads -Wall) +SET(CMAKE_SWIG_FLAGS -threads -w325,321,362,383,302,403,473) ADD_DEFINITIONS(-DMODELAPI_EXPORTS) ADD_LIBRARY(ModelAPI SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS}) @@ -200,6 +200,7 @@ ADD_UNIT_TESTS(TestConstants.py TestFolder_Stability.py TestFolder_CustomName.py TestFolder_Empty.py + TestFolder_Sketch.py Test2358_1.py Test2358_2.py Test2396.py @@ -237,4 +238,13 @@ ADD_UNIT_TESTS(TestConstants.py TestSaveOpen1.py TestSaveOpen2.py TestSelectionInitialization.py + Test2828.py + TestSelectionRestore.py + Test2491.py + Test2493.py + Test2627.py + Test2859.py + Test2873.py + Test2901.py + Test2903.py )