summaryrefslogtreecommitdiff
path: root/CMakePresets.json
blob: 1a8a60dbe9845044b5cf667ff924bc1db55140f6 (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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
  "configurePresets": [
    {
      "errors": {
        "deprecated": true
      },
      "hidden": true,
      "name": "cmake-dev",
      "warnings": {
        "deprecated": true,
        "dev": true
      }
    },
    {
      "cacheVariables": {
        "VCPKG_MANIFEST_NO_DEFAULT_FEATURES": {
          "type": "BOOL",
          "value": "ON"
        }
      },
      "toolchainFile": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
      "hidden": true,
      "name": "vcpkg"
    },
    {
      "binaryDir": "${sourceDir}/vsbuild",
      "architecture": {
        "strategy": "set",
        "value": "x64"
      },
      "cacheVariables": {
        "CMAKE_CXX_FLAGS": "/EHsc /MP /W4",
        "VCPKG_TARGET_TRIPLET": {
          "type": "STRING",
          "value": "x64-windows-static-md"
        }
      },
      "generator": "Visual Studio 17 2022",
      "inherits": ["cmake-dev", "vcpkg"],
      "name": "vs2022-windows",
      "toolset": "v143"
    },
    {
      "cacheVariables": {
        "VCPKG_MANIFEST_FEATURES": {
          "type": "STRING",
          "value": "standalone"
        },
        "MO2_INSTALL_IS_BIN": {
          "type": "BOOL",
          "value": "ON"
        }
      },
      "inherits": "vs2022-windows",
      "name": "vs2022-windows-standalone"
    }
  ],
  "buildPresets": [
    {
      "name": "vs2022-windows",
      "resolvePackageReferences": "on",
      "configurePreset": "vs2022-windows"
    },
    {
      "name": "vs2022-windows-standalone",
      "resolvePackageReferences": "on",
      "configurePreset": "vs2022-windows-standalone"
    }
  ],
  "version": 4
}