1 # Copyright (C) 2012-2016 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
21 # additional include directories
23 IF(SALOME_SMESH_USE_TBB)
24 SET(TBB_INCLUDES ${TBB_INCLUDE_DIRS})
25 ENDIF(SALOME_SMESH_USE_TBB)
28 ${KERNEL_INCLUDE_DIRS}
32 ${PROJECT_SOURCE_DIR}/src/SMDS
36 # additional preprocessor / compiler flags
42 IF(SALOME_SMESH_USE_TBB)
43 SET(TBB_LIBS ${TBB_LIBRARIES})
44 ENDIF(SALOME_SMESH_USE_TBB)
46 # libraries to link to
50 ${KERNEL_SALOMELocalTrace}
57 # header files / no moc processing
60 SMESHDS_Hypothesis.hxx
64 SMESHDS_CommandType.hxx
68 SMESHDS_GroupOnGeom.hxx
69 SMESHDS_GroupOnFilter.hxx
71 SMESHDS_DataMapOfShape.hxx
80 SMESHDS_Hypothesis.cxx
87 SMESHDS_GroupOnGeom.cxx
88 SMESHDS_GroupOnFilter.cxx
93 ADD_LIBRARY(SMESHDS ${SMESHDS_SOURCES})
94 TARGET_LINK_LIBRARIES(SMESHDS ${_link_LIBRARIES} )
95 INSTALL(TARGETS SMESHDS EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
97 INSTALL(FILES ${SMESHDS_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})