summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMakePresets/Warnings.json.in
blob: 40ec6ce44dbfd014c9f531780f14d09baef58e62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
  "version": 1,
  "configurePresets": [
    {
      "name": "NoWarningFlags",
      "generator": "@RunCMake_GENERATOR@",
      "binaryDir": "${sourceDir}/build",
      "cacheVariables": {
        "UNUSED_VARIABLE": "Unused"
      }
    },
    {
      "name": "WarningFlags",
      "inherits": "NoWarningFlags",
      "warnings": {
        "dev": true,
        "deprecated": true,
        "uninitialized": true,
        "unusedCli": false,
        "systemVars": true
      }
    },
    {
      "name": "DisableWarningFlags",
      "inherits": "NoWarningFlags",
      "warnings": {
        "dev": false,
        "deprecated": false,
        "unusedCli": false
      }
    },
    {
      "name": "ErrorDev",
      "inherits": "NoWarningFlags",
      "errors": {
        "dev": true
      }
    },
    {
      "name": "ErrorDeprecated",
      "inherits": "NoWarningFlags",
      "warnings": {
        "dev": false
      },
      "errors": {
        "deprecated": true
      }
    }
  ]
}