From 95a1988eb63c1320ce4a5df9c9a9f043f32931a4 Mon Sep 17 00:00:00 2001 From: Gbkng Date: Tue, 18 Jun 2024 00:30:09 +0200 Subject: [PATCH] add a CMakePresets.json file --- CMakePresets.json | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 CMakePresets.json 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" + } + ] +} -- 2.39.2