Salome HOME
23416: [CEA 2033] Impossible to re-compute a mesh from an hdf
[modules/smesh.git] / src / SMESHFiltersSelection / CMakeLists.txt
1 # Copyright (C) 2012-2016  CEA/DEN, EDF R&D, OPEN CASCADE
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 # --- options ---
21 # additional include directories
22 INCLUDE_DIRECTORIES(
23   ${CAS_INCLUDE_DIRS}
24   ${PYTHON_INCLUDE_DIRS}
25   ${VTK_INCLUDE_DIRS}
26   ${KERNEL_INCLUDE_DIRS}
27   ${GUI_INCLUDE_DIRS}
28   ${GEOM_INCLUDE_DIRS}
29   ${MEDFILE_INCLUDE_DIRS}
30   ${Boost_INCLUDE_DIRS}
31   ${OMNIORB_INCLUDE_DIR}
32   ${PROJECT_BINARY_DIR}/idl
33 )
34
35 # additional preprocessor / compiler flags
36 ADD_DEFINITIONS(
37   ${OMNIORB_DEFINITIONS}
38   ${PYTHON_DEFINITIONS}
39   ${CAS_DEFINITIONS}
40 )
41
42 # libraries to link to
43 SET(_link_LIBRARIES
44   ${KERNEL_SalomeDSClient}
45   ${KERNEL_SalomeDS}
46   ${GUI_SalomeApp}
47   ${GUI_suit}
48   ${GUI_LightApp}
49   ${GEOM_GEOM}
50   ${GEOM_GEOMClient}
51   ${CAS_TKernel}
52   ${CAS_TKMath}
53   ${CAS_TKBRep}
54   SalomeIDLSMESH
55 )
56
57 # --- headers ---
58
59 # header files / no moc processing
60 SET(SMESHFiltersSelection_HEADERS
61   SMESH_Type.h
62   SMESH_TypeFilter.hxx
63   SMESH_NumberFilter.hxx
64   SMESH_LogicalFilter.hxx
65 )
66
67 # --- sources ---
68
69 # sources / static
70 SET(SMESHFiltersSelection_SOURCES
71   SMESH_TypeFilter.cxx
72   SMESH_NumberFilter.cxx
73   SMESH_LogicalFilter.cxx
74 )
75
76 # --- rules ---
77
78 ADD_LIBRARY(SMESHFiltersSelection ${SMESHFiltersSelection_SOURCES})
79 TARGET_LINK_LIBRARIES(SMESHFiltersSelection ${_link_LIBRARIES} )
80 INSTALL(TARGETS SMESHFiltersSelection EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
81
82 INSTALL(FILES ${SMESHFiltersSelection_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})