Salome HOME
updated copyright message
[modules/shaper.git] / src / GeomAlgoImpl / CMakeLists.txt
1 # Copyright (C) 2014-2023  CEA, EDF
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 INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
21
22 SET(PROJECT_HEADERS
23     GeomAlgoImpl.h
24     GEOMAlgo_Algo.hxx
25     GEOMAlgo_AlgoTools.hxx
26     GEOMAlgo_BndSphere.hxx
27     GEOMAlgo_BndSphereTree.hxx
28     GEOMAlgo_BuilderShape.hxx
29     GEOMAlgo_CoupleOfShapes.hxx
30     GEOMAlgo_GlueDetector.hxx
31     GEOMAlgo_Gluer2.hxx
32     GEOMAlgo_GluerAlgo.hxx
33     GEOMAlgo_IndexedDataMapOfIntegerShape.hxx
34     GEOMAlgo_IndexedDataMapOfPassKeyShapeListOfShape.hxx
35     GEOMAlgo_IndexedDataMapOfShapeBndSphere.hxx
36     GEOMAlgo_IndexedDataMapOfShapeIndexedMapOfShape.hxx
37     GEOMAlgo_ListIteratorOfListOfCoupleOfShapes.hxx
38     GEOMAlgo_ListOfCoupleOfShapes.hxx
39     GEOMAlgo_PassKeyShape.hxx
40     GEOMAlgo_PassKeyShapeMapHasher.hxx
41     GEOMAlgo_Splitter.hxx
42     GEOMImpl_Fillet1d.hxx
43 )
44
45 SET(PROJECT_SOURCES
46     GEOMAlgo_Algo.cxx
47     GEOMAlgo_AlgoTools.cxx
48     GEOMAlgo_AlgoTools_1.cxx
49     GEOMAlgo_BndSphere.cxx
50     GEOMAlgo_BndSphereTree.cxx
51     GEOMAlgo_BuilderShape.cxx
52     GEOMAlgo_CoupleOfShapes.cxx
53     GEOMAlgo_GlueDetector.cxx
54     GEOMAlgo_Gluer2.cxx
55     GEOMAlgo_Gluer2_1.cxx
56     GEOMAlgo_Gluer2_2.cxx
57     GEOMAlgo_Gluer2_3.cxx
58     GEOMAlgo_GluerAlgo.cxx
59     GEOMAlgo_PassKeyShape.cxx
60     GEOMAlgo_PassKeyShapeMapHasher.cxx
61     GEOMAlgo_Splitter.cxx
62     GEOMImpl_Fillet1d.cxx
63 )
64
65 SET(PROJECT_LIBRARIES
66   ${OpenCASCADE_FoundationClasses_LIBRARIES}
67   ${OpenCASCADE_ModelingAlgorithms_LIBRARIES}
68 )
69
70 ADD_DEFINITIONS(-DGEOMALGOIMPL_EXPORTS ${OpenCASCADE_DEFINITIONS})
71 ADD_LIBRARY(GeomAlgoImpl SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS})
72
73 INCLUDE_DIRECTORIES(
74   ${OpenCASCADE_INCLUDE_DIR}
75 )
76
77 TARGET_LINK_LIBRARIES(GeomAlgoImpl ${PROJECT_LIBRARIES})
78
79 INSTALL(TARGETS GeomAlgoImpl DESTINATION ${SHAPER_INSTALL_BIN})