From: Gbkng Date: Mon, 17 Jun 2024 22:30:09 +0000 (+0200) Subject: add a CMakePresets.json file X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=95a1988eb63c1320ce4a5df9c9a9f043f32931a4;p=tools%2Fmedcoupling.git add a CMakePresets.json file --- diff --git a/CMakePresets.json b/CMakePresets.json new file mode 100644 index 000000000..999bb8389 --- /dev/null +++ b/CMakePresets.json @@ -0,0 +1,42 @@ +{ + "version": 6, + "cmakeMinimumRequired": { + "major": 3, + "minor": 20, + "patch": 0 + }, + "configurePresets": [ + { + "name": "gcc", + "generator": "Unix Makefiles", + "binaryDir": "${sourceDir}/../build", + "installDir": "${sourceDir}/../install", + "environment": { + }, + "cacheVariables": { + "CMAKE_EXPORT_COMPILE_COMMANDS":"ON", + "CMAKE_BUILD_TYPE":"Debug", + "CMAKE_CXX_FLAGS":"-ggdb3", + "CMAKE_C_FLAGS":"-ggdb3", + "SALOME_CMAKE_DEBUG":"ON", + // "MEDFILE_ROOT_DIR":"TO_PRESCRIBE", + // "HDF5_ROOT_DIR":"TO_PRESCRIBE", + + "SALOME_USE_MPI":"ON", + "MEDCOUPLING_USE_MPI":"ON", + + "MEDCOUPLING_ENABLE_PYTHON":"ON", + "MEDCOUPLING_ENABLE_PARTITIONER":"OFF", + "MEDCOUPLING_ENABLE_RENUMBER":"OFF", + + "MEDCOUPLING_BUILD_DOC":"OFF" + } + } + ], + "buildPresets": [ + { + "name": "gcc", + "configurePreset": "gcc" + } + ] +}