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
24 ${CMAKE_CURRENT_SOURCE_DIR}
25 ${CMAKE_CURRENT_SOURCE_DIR}/../INTERP_KERNEL
26 ${CMAKE_CURRENT_SOURCE_DIR}/../INTERP_KERNEL/Bases
27 ${CMAKE_CURRENT_SOURCE_DIR}/../INTERP_KERNEL/Geometric2D
28 ${CMAKE_CURRENT_SOURCE_DIR}/../INTERP_KERNEL/ExprEval
29 ${CMAKE_CURRENT_SOURCE_DIR}/../INTERP_KERNEL/GaussPoints
36 MEDMEM_Connectivity.cxx
39 MEDMEM_DriverFactory.cxx
45 MEDMEM_MedMeshDriver.cxx
46 MEDMEM_GibiMeshDriver.cxx
47 MEDMEM_PorflowMeshDriver.cxx
48 MEDMEM_SkyLineArray.cxx
53 MEDMEM_VtkMedDriver.cxx
54 MEDMEM_VtkMeshDriver.cxx
58 MEDMEM_ConnectZone.cxx
59 MEDMEM_EnsightMedDriver.cxx
60 MEDMEM_EnsightFieldDriver.cxx
61 MEDMEM_EnsightUtils.cxx
62 MEDMEM_EnsightMeshDriver.cxx
63 MEDMEM_DriverTools.cxx
64 MEDMEM_GaussLocalization.cxx
70 MEDMEM_MedFileBrowser.cxx
73 ADD_LIBRARY(medmem SHARED ${medmem_SOURCES})
74 SET_TARGET_PROPERTIES(medmem PROPERTIES COMPILE_FLAGS "${HDF5_DEFINITIONS} ${MED3_DEFINITIONS} ${XDR_DEFINITIONS} ${PLATFORM_DEFINITIONS}")
75 TARGET_LINK_LIBRARIES(medmem interpkernel ${MED3_LIBS_C_ONLY} ${HDF5_LIBS} ${XDR_LIBS} ${PLATFORM_LIBS})
76 INSTALL(TARGETS medmem DESTINATION ${MED_salomelib_LIBS})
78 FILE(GLOB medmem_HEADERS_HXX "${CMAKE_CURRENT_SOURCE_DIR}/*.hxx")
79 INSTALL(FILES ${medmem_HEADERS_HXX} MEDMEM_DriverFactory.ixx DESTINATION ${MED_salomeinclude_HEADERS})
80 FILE(GLOB medmem_HEADERS_TXX "${CMAKE_CURRENT_SOURCE_DIR}/*.txx")
81 INSTALL(FILES ${medmem_HEADERS_TXX} DESTINATION ${MED_salomeinclude_HEADERS})