]> SALOME platform Git repositories - modules/gui.git/blob - src/OBJECT/CMakeLists.txt
Salome HOME
f4be0d7dd89bb7e09bc92f9ef458e114e900a82f
[modules/gui.git] / src / OBJECT / CMakeLists.txt
1 # Copyright (C) 2012-2013  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.
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
22 # additional include directories
23 INCLUDE_DIRECTORIES(
24   ${CAS_INCLUDE_DIRS}
25 )
26
27 # additional preprocessor / compiler flags
28 ADD_DEFINITIONS(${QT_DEFINITIONS} ${CAS_DEFINITIONS})
29
30 # libraries to link to
31 SET(_link_LIBRARIES ${QT_LIBRARIES} ${CAS_LDPATH} ${CAS_KERNEL} ${CAS_TKV3d})
32
33 # --- headers ---
34
35 # header files / to install
36 SET(SalomeObject_HEADERS
37   Handle_SALOME_AISObject.hxx
38   Handle_SALOME_AISShape.hxx
39   Handle_SALOME_DataMapNodeOfDataMapOfIOMapOfInteger.hxx
40   Handle_SALOME_Filter.hxx
41   Handle_SALOME_InteractiveObject.hxx
42   Handle_SALOME_ListNodeOfListIO.hxx
43   Handle_SALOME_TypeFilter.hxx
44   SALOME_AISObject.hxx
45   SALOME_AISShape.hxx
46   SALOME_DataMapIteratorOfDataMapOfIOMapOfInteger.hxx
47   SALOME_DataMapNodeOfDataMapOfIOMapOfInteger.hxx
48   SALOME_DataMapOfIOMapOfInteger.hxx
49   SALOME_Filter.hxx
50   SALOME_InteractiveObject.hxx
51   SALOME_ListIO.hxx
52   SALOME_ListIteratorOfListIO.hxx
53   SALOME_ListNodeOfListIO.hxx
54   SALOME_Selection.h
55   SALOME_TypeFilter.hxx
56 )
57
58 # --- sources ---
59
60 # sources / to compile
61
62 SET(SalomeObject_SOURCES
63   SALOME_InteractiveObject.cxx
64   SALOME_AISShape.cxx
65   SALOME_AISObject.cxx
66   SALOME_ListIO_0.cxx
67   SALOME_ListIteratorOfListIO_0.cxx
68   SALOME_ListNodeOfListIO_0.cxx
69   SALOME_Filter.cxx
70   SALOME_TypeFilter.cxx
71   SALOME_DataMapOfIOMapOfInteger_0.cxx
72   SALOME_DataMapNodeOfDataMapOfIOMapOfInteger_0.cxx
73   SALOME_DataMapIteratorOfDataMapOfIOMapOfInteger_0.cxx
74 )
75
76 # --- rules ---
77
78 ADD_LIBRARY(SalomeObject ${SalomeObject_SOURCES})
79 TARGET_LINK_LIBRARIES(SalomeObject ${_link_LIBRARIES})
80 INSTALL(TARGETS SalomeObject EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
81
82 INSTALL(FILES ${SalomeObject_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})