Salome HOME
Merge remote branch 'origin/gdd/translations'
[modules/smesh.git] / src / SMESHFiltersSelection / CMakeLists.txt
1 # Copyright (C) 2012-2015  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   ${QT_INCLUDES}
25   ${PYTHON_INCLUDE_DIRS}
26   ${VTK_INCLUDE_DIRS}
27   ${KERNEL_INCLUDE_DIRS}
28   ${GUI_INCLUDE_DIRS}
29   ${GEOM_INCLUDE_DIRS}
30   ${MEDFILE_INCLUDE_DIRS}
31   ${Boost_INCLUDE_DIRS}
32   ${OMNIORB_INCLUDE_DIR}
33   ${PROJECT_BINARY_DIR}/idl
34 )
35
36 # additional preprocessor / compiler flags
37 ADD_DEFINITIONS(
38   ${OMNIORB_DEFINITIONS}
39   ${PYTHON_DEFINITIONS}
40   ${CAS_DEFINITIONS}
41 )
42
43 # libraries to link to
44 SET(_link_LIBRARIES
45   ${KERNEL_SalomeDSClient}
46   ${KERNEL_SalomeDS}
47   ${GUI_SalomeApp}
48   ${GUI_suit}
49   ${GUI_LightApp}
50   ${GEOM_GEOM}
51   ${GEOM_GEOMClient}
52   ${CAS_TKernel}
53   ${CAS_TKMath}
54   ${CAS_TKBRep}
55   SalomeIDLSMESH
56 )
57
58 # --- headers ---
59
60 # header files / no moc processing
61 SET(SMESHFiltersSelection_HEADERS
62   SMESH_Type.h
63   SMESH_TypeFilter.hxx
64   SMESH_NumberFilter.hxx
65   SMESH_LogicalFilter.hxx
66 )
67
68 # --- sources ---
69
70 # sources / static
71 SET(SMESHFiltersSelection_SOURCES
72   SMESH_TypeFilter.cxx
73   SMESH_NumberFilter.cxx
74   SMESH_LogicalFilter.cxx
75 )
76
77 # --- rules ---
78
79 ADD_LIBRARY(SMESHFiltersSelection ${SMESHFiltersSelection_SOURCES})
80 TARGET_LINK_LIBRARIES(SMESHFiltersSelection ${_link_LIBRARIES} )
81 INSTALL(TARGETS SMESHFiltersSelection EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
82
83 INSTALL(FILES ${SMESHFiltersSelection_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})