1 # Copyright (C) 2012-2013 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.
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}
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/GEOM_I
32 ${PROJECT_SOURCE_DIR}/src/GEOMUtils
33 ${PROJECT_BINARY_DIR}/idl
34 ${CMAKE_CURRENT_SOURCE_DIR}
38 # additional preprocessor / compiler flags
41 ${OMNIORB_DEFINITIONS}
44 # libraries to link to
48 ${KERNEL_SALOMELocalTrace}
49 ${KERNEL_SalomeGenericObj}
51 ${KERNEL_SalomeContainer}
57 SET(AdvancedEngine_HEADERS
58 AdvancedEngine_Types.hxx
59 # AdvancedEngine_OperationsCreator.hh
60 # GEOM_AdvancedEngine.hxx
61 # GEOMImpl_IAdvancedOperations.hxx
62 # GEOM_IAdvancedOperations_i.hh
64 # GEOMImpl_IPipeTShape.hxx GEOMImpl_PipeTShapeDriver.hxx
65 # GEOMImpl_IDividedDisk.hxx GEOMImpl_DividedDiskDriver.hxx
66 # GEOMImpl_IDividedCylinder.hxx GEOMImpl_DividedCylinderDriver.hxx
67 # GEOMImpl_ISmoothingSurface.hxx GEOMImpl_SmoothingSurfaceDriver.hxx
71 SET(AdvancedEngine_SOURCES
73 AdvancedEngine_OperationsCreator.cc
74 GEOMImpl_IAdvancedOperations.cxx
75 GEOM_IAdvancedOperations_i.cc
77 GEOMImpl_PipeTShapeDriver.cxx
78 GEOMImpl_DividedDiskDriver.cxx
79 #GEOMImpl_DividedCylinderDriver.cxx
80 GEOMImpl_SmoothingSurfaceDriver.cxx
81 ##@@ insert new functions before this line @@ do not remove this line @@ do not remove this line @@##
86 ADD_LIBRARY(AdvancedEngine ${AdvancedEngine_SOURCES})
87 TARGET_LINK_LIBRARIES(AdvancedEngine ${_link_LIBRARIES})
88 INSTALL(TARGETS AdvancedEngine EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
90 INSTALL(FILES ${AdvancedEngine_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})