Salome HOME
Revert "CEA : Lot2 - Normal to a face"
[modules/shaper.git] / src / CollectionAPI / CMakeLists.txt
index a29a97b96bfacf05d5811eb4b2aed8386e214f2e..d666993865509327e560a5e75bff29097b21154a 100644 (file)
@@ -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")