1 # Copyright (C) 2012-2021 CEA/DEN, EDF R&D, OPEN CASCADE
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.
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.
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
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
22 # additional include directories
24 ${OMNIORB_INCLUDE_DIR}
25 ${PTHREAD_INCLUDE_DIR}
26 ${OpenCASCADE_INCLUDE_DIR}
27 ${KERNEL_INCLUDE_DIRS}
28 ${PROJECT_SOURCE_DIR}/src/GEOMImpl
29 ${PROJECT_SOURCE_DIR}/src/GEOM
30 ${PROJECT_SOURCE_DIR}/src/GEOMAlgo
31 ${PROJECT_SOURCE_DIR}/src/GEOMUtils
32 ${PROJECT_SOURCE_DIR}/src/ShHealOper
33 ${PROJECT_BINARY_DIR}/idl
34 ${CMAKE_CURRENT_SOURCE_DIR}
38 # additional preprocessor / compiler flags
40 ${OpenCASCADE_DEFINITIONS}
41 ${OMNIORB_DEFINITIONS}
45 ADD_DEFINITIONS(-DNOGDI)
48 # libraries to link to
53 ${KERNEL_SALOMELocalTrace}
54 ${KERNEL_SalomeGenericObj}
56 ${KERNEL_SalomeContainer}
63 SET(GEOMEngine_HEADERS
64 GEOM_IFieldOperations_i.hh
68 GEOM_IBasicOperations_i.hh
69 GEOM_IHealingOperations_i.hh
70 GEOM_I3DPrimOperations_i.hh
71 GEOM_IShapesOperations_i.hh
72 GEOM_IBlocksOperations_i.hh
73 GEOM_IBooleanOperations_i.hh
74 GEOM_ICurvesOperations_i.hh
75 GEOM_ILocalOperations_i.hh
76 GEOM_IInsertOperations_i.hh
77 GEOM_ITransformOperations_i.hh
78 GEOM_IMeasureOperations_i.hh
79 GEOM_IGroupOperations_i.hh
82 GEOM_Gen_No_Session_i.hh
88 SET(GEOMEngine_SOURCES
93 GEOM_IBasicOperations_i.cc
94 GEOM_IHealingOperations_i.cc
95 GEOM_I3DPrimOperations_i.cc
96 GEOM_IShapesOperations_i.cc
97 GEOM_IBlocksOperations_i.cc
98 GEOM_IBooleanOperations_i.cc
99 GEOM_ICurvesOperations_i.cc
100 GEOM_ILocalOperations_i.cc
101 GEOM_IInsertOperations_i.cc
102 GEOM_ITransformOperations_i.cc
103 GEOM_IMeasureOperations_i.cc
104 GEOM_IGroupOperations_i.cc
105 GEOM_IFieldOperations_i.cc
107 GEOM_Gen_Session_i.cc
108 GEOM_Gen_No_Session_i.cc
114 ADD_LIBRARY(GEOMEngine ${GEOMEngine_SOURCES})
115 TARGET_LINK_LIBRARIES(GEOMEngine ${_link_LIBRARIES})
116 INSTALL(TARGETS GEOMEngine EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
118 INSTALL(FILES ${GEOMEngine_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})