X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FCMakeLists.txt;h=b2514fb0fb8b15e80573f64aebb39043ce48babc;hb=refs%2Ftlpr%2F15%2Fhead;hp=ebae2bd8ef15c9e9931eda5a11ab8f7bbbe97313;hpb=ffb8188e28b2b60ee207a8644286821bc4e8fcdc;p=tools%2Fmedcoupling.git diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index ebae2bd8e..b2514fb0f 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (C) 2015-2020 CEA/DEN, EDF R&D +# Copyright (C) 2015-2024 CEA, EDF # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -17,6 +17,10 @@ # 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) +