Salome HOME
New feature: colinearizeEdges(): merge colinear edges of polyhedrons
[tools/medcoupling.git] / src / CMakeLists.txt
index ebae2bd8ef15c9e9931eda5a11ab8f7bbbe97313..4fd69dc4c97a6650f48cbd5017a282e3af5ed4f7 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2015-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2015-2022  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
 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 
+if(MED_INT_IS_LONG)
+  add_definitions(-DMED_INT_IS_LONG)
+endif(MED_INT_IS_LONG)
+
 # InterpKERNEL
 ADD_SUBDIRECTORY(INTERP_KERNEL)
 IF(MEDCOUPLING_BUILD_TESTS)
@@ -25,6 +29,8 @@ ENDIF(MEDCOUPLING_BUILD_TESTS)
 
 # MEDCoupling
 ADD_SUBDIRECTORY(MEDCoupling)
+ADD_SUBDIRECTORY(ICoCo)
+
 IF(MEDCOUPLING_ENABLE_PYTHON)
   ADD_SUBDIRECTORY(MEDCoupling_Swig)
   ADD_SUBDIRECTORY(PyWrapping)
@@ -70,6 +76,6 @@ IF(MEDCOUPLING_USE_MPI)
 ENDIF(MEDCOUPLING_USE_MPI)
 
 # Application tests
-INSTALL(FILES CTestTestfileInstall.cmake
-  DESTINATION ${MEDCOUPLING_INSTALL_TESTS}
-  RENAME CTestTestfile.cmake)
+configure_file(CTestTestfileInstall.cmake.in "CTestTestfileST.cmake" @ONLY)
+install(FILES ${CMAKE_CURRENT_BINARY_DIR}/CTestTestfileST.cmake DESTINATION ${MEDCOUPLING_INSTALL_TESTS} RENAME CTestTestfile.cmake)
+