[pim/mimetreeparser] /: Add check-cmake preset support

Laurent Montel <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 823bfcfc3aa26b08364a3a51c0028351ca17b389 by Laurent Montel.
Committed on 18/07/2026 at 06:35.
Pushed by mlaurent into branch 'master'.

Add check-cmake preset support

M  +13   -0    CMakePresets.json

https://invent.kde.org/pim/mimetreeparser/-/commit/823bfcfc3aa26b08364a3a51c0028351ca17b389

diff --git a/CMakePresets.json b/CMakePresets.json
index f2f2854..0b0f449 100644
--- a/CMakePresets.json
+++ b/CMakePresets.json
@@ -20,6 +20,19 @@
                 "dev-mold"
             ]
         },
+        {
+            "name": "check-cmake",
+            "displayName": "Configure with strict warning",
+            "inherits": [
+                "dev-mold"
+            ],
+            "errors": {
+                "dev": true
+            },
+            "warnings": {
+                "uninitialized": true
+            }
+        },
         {
             "name": "dev-mold",
             "displayName": "Build as debug + using mold linker",
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.