-# Copyright (C) 2012-2013 CEA/DEN, EDF R&D
+# Copyright (C) 2012-2014 CEA/DEN, EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
-# version 2.1 of the License.
+# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-ADD_DEFINITIONS(${HDF5_DEFINITIONS} ${MEDFILE_DEFINITIONS} ${PLATFORM_DEFINITIONS} ${OMNIORB_DEFINITIONS})
+ADD_DEFINITIONS(${HDF5_DEFINITIONS} ${MEDFILE_DEFINITIONS} ${OMNIORB_DEFINITIONS})
INCLUDE_DIRECTORIES(
${OMNIORB_INCLUDE_DIR} ${OMNIORB_INCLUDE_DIRS}
${MEDFILE_INCLUDE_DIRS}
${HDF5_INCLUDE_DIRS}
- ${PTHREAD_INCLUDE_DIRS}
- ${KERNEL_ROOT_DIR}/include/salome
+ ${PTHREAD_INCLUDE_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${PROJECT_BINARY_DIR}/idl
${PROJECT_SOURCE_DIR}/src/MEDCoupling
SET(COMMON_LIBS
medloader
SalomeIDLMED
- ${TOOLSDS}
- ${SalomeHDFPersist}
- ${SalomeContainer}
- ${SalomeCommunication}
- ${SalomeKernelHelpers}
- ${SalomeLifeCycleCORBA}
- ${SALOMELocalTrace}
- ${SALOMEBasics}
- ${SalomeGenericObj}
+ ${KERNEL_TOOLSDS}
+ ${KERNEL_SalomeHDFPersist}
+ ${KERNEL_SalomeContainer}
+ ${KERNEL_SalomeCommunication}
+ ${KERNEL_SalomeKernelHelpers}
+ ${KERNEL_SalomeLifeCycleCORBA}
+ ${KERNEL_SALOMELocalTrace}
+ ${KERNEL_SALOMEBasics}
+ ${KERNEL_SalomeGenericObj}
medcoupling
+ medcouplingremapper
interpkernel
${MEDFILE_C_LIBRARIES}
${HDF5_LIBRARIES}
${PLATFORM_LIBRARIES}
)
-# This undefines the macros MIN and MAX which are specified in the windows headers
+# This undefines the macros MIN and MAX which are specified in the windows headers
IF(WIN32)
SET(COMMON_FLAGS "${COMMON_FLAGS} -DNOMINMAX")
ENDIF(WIN32)
FILE(GLOB MEDOPFactoryEngine_HEADERS_HXX "${CMAKE_CURRENT_SOURCE_DIR}/*.hxx")
INSTALL(FILES ${MEDOPFactoryEngine_HEADERS_HXX} DESTINATION ${SALOME_INSTALL_HEADERS})
-INSTALL(FILES test_medop_components.py PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ GROUP_EXECUTE GROUP_READ WORLD_EXECUTE WORLD_READ DESTINATION ${SALOME_INSTALL_BINS}/xmed)
+IF(SALOME_ENABLE_PYTHON)
+ INSTALL(FILES test_medop_components.py PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ GROUP_EXECUTE GROUP_READ WORLD_EXECUTE WORLD_READ DESTINATION ${SALOME_INSTALL_BINS}/xmed)
+ENDIF()