]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
add a CMakePresets.json file
authorGbkng <guillaume.brooking@gmail.com>
Mon, 17 Jun 2024 22:30:09 +0000 (00:30 +0200)
committerGbkng <guillaume.brooking@gmail.com>
Mon, 17 Jun 2024 22:30:09 +0000 (00:30 +0200)
CMakePresets.json [new file with mode: 0644]

diff --git a/CMakePresets.json b/CMakePresets.json
new file mode 100644 (file)
index 0000000..999bb83
--- /dev/null
@@ -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"
+    }  
+  ]
+}