Salome HOME
Update copyrights
[modules/shaper.git] / src / PythonAPI / CMakeLists.txt
1 # Copyright (C) 2014-2019  CEA/DEN, EDF R&D
2 #
3 # This library is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU Lesser General Public
5 # License as published by the Free Software Foundation; either
6 # version 2.1 of the License, or (at your option) any later version.
7 #
8 # This library is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 # Lesser General Public License for more details.
12 #
13 # You should have received a copy of the GNU Lesser General Public
14 # License along with this library; if not, write to the Free Software
15 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16 #
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 #
19
20 INSTALL(DIRECTORY geom model examples DESTINATION ${SHAPER_INSTALL_PYTHON_API})
21 INSTALL(FILES __init__.py DESTINATION ${SHAPER_INSTALL_PYTHON_API})
22 INSTALL(FILES __init__.py DESTINATION ${_pydir}/salome)
23 INSTALL(FILES initConfig.py DESTINATION ${SHAPER_INSTALL_PYTHON_API})
24
25 # --------- Unit tests -----------
26 INCLUDE(UnitTest)
27
28 ADD_UNIT_TESTS(
29   TestPythonAPI.py
30   TestModel.py
31
32   TestSketcherAddPoint.py
33   TestSketcherAddLine.py
34   TestSketcherAddArc.py
35   TestSketcherAddCircle.py
36   TestSketcherAddMirror.py
37   TestSketcherSetCoincident.py
38   TestSketcherSetTangent.py
39   TestSketcherSetParallel.py
40   TestSketcherSetPerpendicular.py
41   TestSketcherSetHorizontal.py
42   TestSketcherSetVertical.py
43   TestSketcherSetFixed.py
44   TestSketcherSetLength.py
45   TestSketcherSetRadius.py
46   TestSketcherSetAngle.py
47   TestSketcherSetEqual.py
48   TestSketcherSetFillet.py
49
50   TestFeatures.py
51   TestFeaturesExtrusion.py
52   TestFeaturesRevolution.py
53
54   TestPrimitivesBox.py
55
56   TestMakeBrick1.py
57   TestMakeBrick2.py
58   TestPlatine.py
59
60   Test2044.py
61   )