X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FCMakeLists.txt;h=b2514fb0fb8b15e80573f64aebb39043ce48babc;hb=f902e2a3f15308fda09171c8c3a63201807c1589;hp=0707aedc06d4e84828a6377b844dd297638e8e37;hpb=5da72d398d0eb1820c3ce6dd90b8579b6b14edf5;p=tools%2Fmedcoupling.git diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 0707aedc0..b2514fb0f 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (C) 2015-2016 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,8 +29,11 @@ ENDIF(MEDCOUPLING_BUILD_TESTS) # MEDCoupling ADD_SUBDIRECTORY(MEDCoupling) +ADD_SUBDIRECTORY(ICoCo) + IF(MEDCOUPLING_ENABLE_PYTHON) ADD_SUBDIRECTORY(MEDCoupling_Swig) + ADD_SUBDIRECTORY(PyWrapping) ENDIF(MEDCOUPLING_ENABLE_PYTHON) IF(NOT MEDCOUPLING_MICROMED) @@ -69,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) +