Salome HOME
updated copyright message
[modules/kernel.git] / src / DSC / DSC_User / Datastream / CMakeLists.txt
1 # Copyright (C) 2012-2023  CEA, EDF, 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 INCLUDE_DIRECTORIES(
21   ${Boost_INCLUDE_DIRS}
22   ${PROJECT_BINARY_DIR}/salome_adm
23   ${PROJECT_SOURCE_DIR}/src/DSC/DSC_User
24   ${PROJECT_BINARY_DIR}/src/DSC/DSC_User/Datastream/Palm
25   ${PROJECT_BINARY_DIR}/src/DSC/DSC_User/Datastream/Calcium
26   ${CMAKE_CURRENT_SOURCE_DIR}/..
27 )
28
29 ADD_SUBDIRECTORY(Palm)
30 ADD_SUBDIRECTORY(Calcium)
31
32 # This local variable defines the list of dependent 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 EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_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 ${SALOME_INSTALL_HEADERS})