1 # Copyright (C) 2012-2019 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 ${KERNEL_INCLUDE_DIRS}
27 # additional preprocessor / compiler flags
32 # libraries to link to
34 ${KERNEL_SALOMELocalTrace}
41 # header files / no moc processing
44 SMDSAbs_ElementType.hxx
50 SMDS_ElementFactory.hxx
54 SMDS_IteratorOnIterators.hxx
57 SMDS_Mesh0DElement.hxx
67 SMDS_PolygonalFaceOfNodes.hxx
70 SMDS_SpacePosition.hxx
72 SMDS_TypeOfPosition.hxx
73 SMDS_UnstructuredGrid.hxx
74 SMDS_VertexPosition.hxx
75 SMDS_VolumeOfNodes.hxx
77 SMDS_VtkCellIterator.hxx
78 SMDS_ElementHolder.hxx
90 SMDS_ElementFactory.cxx
102 SMDS_PolygonalFaceOfNodes.cxx
103 SMDS_SpacePosition.cxx
104 SMDS_UnstructuredGrid.cxx
105 SMDS_VolumeOfNodes.cxx
107 SMDS_VtkCellIterator.cxx
108 SMDS_ElementHolder.cxx
113 SET(SMDS_MemoryLimit_SOURCES
119 ADD_LIBRARY(SMDS ${SMDS_SOURCES})
120 TARGET_LINK_LIBRARIES(SMDS ${_link_LIBRARIES} )
121 INSTALL(TARGETS SMDS EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
123 ADD_EXECUTABLE(SMDS_MemoryLimit ${SMDS_MemoryLimit_SOURCES})
124 TARGET_LINK_LIBRARIES(SMDS_MemoryLimit ${_link_LIBRARIES})
125 INSTALL(TARGETS SMDS_MemoryLimit EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_BINS})
127 INSTALL(FILES ${SMDS_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})