about summary refs log tree commit diff stats
path: root/CMakePresets.json
blob: b9b77beeb6f69912a8a2b095ce5c0c8978a53c1f (plain) (blame)
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
{
  "version": 3,
  "cmakeMinimumRequired": {
    "major": 3,
    "minor": 1,
    "patch": 0
  },
  "configurePresets": [
    {
      "name": "lingo-ap-tracker-preset",
      "displayName": "Lingo AP Tracker preset",
      "description": "Configure with vcpkg toolchain and generate Ninja project files for all configurations",
      "binaryDir": "${sourceDir}/builds/${presetName}",
      "generator": "Ninja Multi-Config",
      "cacheVariables": {
        "CMAKE_TOOLCHAIN_FILE": {
          "type": "FILEPATH",
          "value": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake"
        }
      },
      "environment": {
        "VCPKG_ROOT": "./vendor/vcpkg"
      }
    }
  ],
  "buildPresets": [
    {
      "name": "lingo-ap-tracker-preset",
      "configurePreset": "lingo-ap-tracker-preset",
      "displayName": "Build lingo-ap-tracker-preset",
      "description": "Build",
      "configuration": "Debug"
    },
    {
      "name": "x64-release-preset",
      "displayName": "Release Build x64",
      "description": "Build release x64",
      "configurePreset": "lingo-ap-tracker-preset",
      "configuration": "Release"
    }
  ]
}