Salome HOME
Add a new mode for creating a box by a center and dimensions. (TestBox.py)
[modules/shaper.git] / src / PrimitivesAPI / CMakeLists.txt
index 8a3673e8b3134f572409eb8cfc1629e4ec411ecc..e6df736f5b9edcd804bdbdc87a66a7e822e76564 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
@@ -26,6 +26,7 @@ SET(PROJECT_HEADERS
   PrimitivesAPI_Cylinder.h
   PrimitivesAPI_Sphere.h
   PrimitivesAPI_Torus.h
+  PrimitivesAPI_Tube.h
 )
 
 SET(PROJECT_SOURCES
@@ -34,6 +35,7 @@ SET(PROJECT_SOURCES
   PrimitivesAPI_Cylinder.cpp
   PrimitivesAPI_Sphere.cpp
   PrimitivesAPI_Torus.cpp
+  PrimitivesAPI_Tube.cpp
 )
 
 SET(PROJECT_LIBRARIES
@@ -72,6 +74,7 @@ SET(SWIG_LINK_LIBRARIES
   ModelAPI
   ${PYTHON_LIBRARIES}
 )
+SET(CMAKE_SWIG_FLAGS -threads -w325,321,302,362,322,383,403)
 
 SET(SWIG_MODULE_PrimitivesAPI_EXTRA_DEPS ${SWIG_MODULE_PrimitivesAPI_EXTRA_DEPS}
   ${PROJECT_SOURCE_DIR}/src/ModelHighAPI/ModelHighAPI.i