Salome HOME
Improve swig generation process on Windows platform.
[tools/medcoupling.git] / src / INTERP_KERNEL / CMakeLists.txt
index 63f893b9564e718c31a0bd0e7e22fd1a30b8c7a8..a3151d17054486d0fc185bcc2d9413a038981f34 100644 (file)
@@ -1,9 +1,9 @@
-# Copyright (C) 2012-2013  CEA/DEN, EDF R&D
+# Copyright (C) 2012-2016  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
@@ -26,13 +26,16 @@ SET(interpkernel_SOURCES
   TranslationRotationMatrix.cxx
   TetraAffineTransform.cxx
   CellModel.cxx
+  DiameterCalculator.cxx
   UnitTetraIntersectionBary.cxx
   InterpolationOptions.cxx
+  BoxSplittingOptions.cxx
   DirectedBoundingBox.cxx
   Interpolation2DCurve.cxx
   Interpolation3DSurf.cxx
   Interpolation3D.cxx
-  Interpolation3D2D.cxx
+  Interpolation2D3D.cxx
+  Interpolation3D1D.cxx
   MeshElement.cxx
   InterpKernelMeshQuality.cxx
   InterpKernelCellSimplify.cxx
@@ -72,14 +75,14 @@ IF(NOT WIN32)
   SET(PLATFORM_MMAP "-D_POSIX_MAPPED_FILES")
 ENDIF(NOT WIN32)
 
-ADD_LIBRARY(interpkernel SHARED ${interpkernel_SOURCES})
+ADD_LIBRARY(interpkernel ${interpkernel_SOURCES})
 SET_TARGET_PROPERTIES(interpkernel PROPERTIES COMPILE_FLAGS "${PLATFORM_MMAP}")
 TARGET_LINK_LIBRARIES(interpkernel ${PLATFORM_LIBS})
-INSTALL(TARGETS interpkernel EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
+INSTALL(TARGETS interpkernel EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${MEDCOUPLING_INSTALL_LIBS})
 
 FILE(GLOB_RECURSE interpkernel_HEADERS_HXX "${CMAKE_CURRENT_SOURCE_DIR}/*.hxx")
 FILE(GLOB_RECURSE interpkernel_HEADERS_TXX "${CMAKE_CURRENT_SOURCE_DIR}/*.txx")
-INSTALL(FILES ${interpkernel_HEADERS_HXX} ${interpkernel_HEADERS_TXX} Bases/NormalizedGeometricTypes DESTINATION ${SALOME_INSTALL_HEADERS})
+INSTALL(FILES ${interpkernel_HEADERS_HXX} ${interpkernel_HEADERS_TXX} Bases/NormalizedGeometricTypes DESTINATION ${MEDCOUPLING_INSTALL_HEADERS})
 
 # Will be used for SWIG dependencies:
 SET (interpkernel_HEADERS_HXX PARENT_SCOPE)