Salome HOME
Merge from V6_main 11/02/2013
[modules/kernel.git] / src / DSC / DSC_User / Datastream / CMakeLists.txt
1 # Copyright (C) 2012  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 ADD_SUBDIRECTORY(Palm)
21 ADD_SUBDIRECTORY(Calcium)
22
23 INCLUDE_DIRECTORIES(
24   ${Boost_INCLUDE_DIRS}
25   ${CMAKE_BINARY_DIR}/salome_adm
26   ${CMAKE_SOURCE_DIR}/src/DSC/DSC_User
27   ${CMAKE_BINARY_DIR}/src/DSC/DSC_User/Datastream/Palm
28   ${CMAKE_BINARY_DIR}/src/DSC/DSC_User/Datastream/Calcium
29   ${CMAKE_CURRENT_SOURCE_DIR}/..
30 )
31
32 # This local variable defines the list of dependant libraries common to all target in this package.
33 SET(COMMON_LIBS
34   SalomePalm
35   SalomeCalcium
36   SalomeDSCSuperv
37 )
38
39 ADD_DEFINITIONS(${BOOST_DEFINITIONS})
40
41 ADD_LIBRARY(SalomeDatastream fake.cc)
42 TARGET_LINK_LIBRARIES(SalomeDatastream ${COMMON_LIBS})
43 INSTALL(TARGETS SalomeDatastream DESTINATION ${KERNEL_salomelib_LIBS})
44
45 SET(COMMON_HEADERS_HXX
46   AdjacentFunctor.hxx
47   ConstTraits.hxx
48   CorbaTypeManipulator.hxx
49   CouplingPolicy.hxx
50   DataIdFilter.hxx
51   DisplayPair.hxx
52   FindKeyPredicate.hxx
53   GenericPort.hxx
54   GenericProvidesPort.hxx
55   GenericUsesPort.hxx
56   IteratorTraits.hxx
57 )
58
59 INSTALL(FILES ${COMMON_HEADERS_HXX} DESTINATION ${KERNEL_salomeinclude_HEADERS})