1 # Copyright (C) 2007-2012 CEA/DEN, EDF R&D
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.
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.
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
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
20 ADD_SUBDIRECTORY(Client)
21 ADD_SUBDIRECTORY(Test)
24 ${OMNIORB_INCLUDE_DIRS}
25 ${KERNEL_ROOT_DIR}/include/salome
26 ${CMAKE_CURRENT_BINARY_DIR}/../../idl
27 ${CMAKE_CURRENT_SOURCE_DIR}/../MEDCoupling
28 ${CMAKE_CURRENT_SOURCE_DIR}/../INTERP_KERNEL
29 ${CMAKE_CURRENT_SOURCE_DIR}/../INTERP_KERNEL/Bases
32 SET(medcouplingcorba_SOURCES
33 MEDCouplingRefCountServant.cxx
34 MEDCouplingMeshServant.cxx
35 MEDCouplingPointSetServant.cxx
36 MEDCouplingExtrudedMeshServant.cxx
37 MEDCouplingCMeshServant.cxx
38 MEDCouplingUMeshServant.cxx
39 MEDCouplingFieldServant.cxx
40 MEDCouplingFieldDoubleServant.cxx
41 MEDCouplingFieldTemplateServant.cxx
42 MEDCouplingMultiFieldsServant.cxx
43 MEDCouplingFieldOverTimeServant.cxx
44 DataArrayDoubleServant.cxx
45 DataArrayIntServant.cxx
49 ADD_LIBRARY(medcouplingcorba SHARED ${medcouplingcorba_SOURCES})
50 SET_TARGET_PROPERTIES(medcouplingcorba PROPERTIES COMPILE_FLAGS "${OMNIORB_DEFINITIONS}")
51 TARGET_LINK_LIBRARIES(medcouplingcorba medcoupling SalomeIDLMED)
52 INSTALL(TARGETS medcouplingcorba DESTINATION ${MED_salomelib_LIBS})
54 FILE(GLOB medcouplingcorba_HEADERS_HXX "${CMAKE_CURRENT_SOURCE_DIR}/*.hxx")
55 INSTALL(FILES ${medcouplingcorba_HEADERS_HXX} DESTINATION ${MED_salomeinclude_HEADERS})