aboutsummaryrefslogtreecommitdiff
path: root/CMakePresets.json
blob: 34451196bfdde8f9c9ff74da395bf11b8a83567d (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": 6,
  "configurePresets": [
    {
      "name": "base",
      "hidden": true,
      "binaryDir": "${sourceDir}/build",
      "generator": "Ninja Multi-Config",
      "cacheVariables": {
        "CMAKE_CONFIGURATION_TYPES": "Debug;MinSizeRel",
        "CMAKE_EXPORT_COMPILE_COMMANDS": true,
        "CMAKE_VERIFY_INTERFACE_HEADER_SETS": true
      }
    },
    {
      "name": "x86_64",
      "description": "Target x86-64",
      "inherits": "base",
      "toolchainFile": "cmake/Platforms/x86_64.cmake"
    },
    {
      "name": "bht",
      "inherits": "base",
      "description": "Build-host Testing"
    }
  ],
  "buildPresets": [
    {
      "name": "x86_64-dbg",
      "configurePreset": "x86_64",
      "configuration": "Debug"
    },
    {
      "name": "x86_64-rel",
      "configurePreset": "x86_64",
      "configuration": "MinSizeRel"
    },
    {
      "name": "bht-dbg",
      "configurePreset": "bht",
      "configuration": "Debug"
    }
  ],
  "testPresets": [
    {
      "name": "bht-dbg",
      "configurePreset": "bht"
    }
  ]
}