X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FCollectionAPI%2FCMakeLists.txt;h=d666993865509327e560a5e75bff29097b21154a;hb=98ac3fe4aa897d878ee3ef2bf2ab3a238a8c5977;hp=a29a97b96bfacf05d5811eb4b2aed8386e214f2e;hpb=c4eab94a20a0d93100549a210582d46409fec1cc;p=modules%2Fshaper.git diff --git a/src/CollectionAPI/CMakeLists.txt b/src/CollectionAPI/CMakeLists.txt index a29a97b96..d66699386 100644 --- a/src/CollectionAPI/CMakeLists.txt +++ b/src/CollectionAPI/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (C) 2014-2019 CEA/DEN, EDF R&D +# Copyright (C) 2014-2021 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 @@ -22,11 +22,19 @@ INCLUDE(Common) SET(PROJECT_HEADERS CollectionAPI.h CollectionAPI_Group.h + CollectionAPI_GroupAddition.h + CollectionAPI_GroupShape.h + CollectionAPI_GroupIntersection.h + CollectionAPI_GroupSubstraction.h CollectionAPI_Field.h ) SET(PROJECT_SOURCES CollectionAPI_Group.cpp + CollectionAPI_GroupAddition.cpp + CollectionAPI_GroupShape.cpp + CollectionAPI_GroupIntersection.cpp + CollectionAPI_GroupSubstraction.cpp CollectionAPI_Field.cpp ) @@ -57,6 +65,8 @@ TARGET_LINK_LIBRARIES(CollectionAPI ${PROJECT_LIBRARIES}) INCLUDE(PythonAPI) +SET(CMAKE_SWIG_FLAGS -threads -w325,321,302,362,322,383,403,509) + SET_SOURCE_FILES_PROPERTIES(CollectionAPI.i PROPERTIES CPLUSPLUS ON) SET_SOURCE_FILES_PROPERTIES(CollectionAPI.i PROPERTIES SWIG_DEFINITIONS "-shadow")