aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/mcusupport/test/msvc_desktop_json.h
blob: 9bcebcebc48c9202cc95f327e84bb75f39cdc2d8 (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
// Copyright (C) 2022 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0

#pragma once

constexpr auto msvc_desktop_json = R"({
  "qulVersion": "@CMAKE_PROJECT_VERSION@",
  "compatVersion": "@COMPATIBILITY_VERSION@",
  "platform": {
      "id": "Qt",
      "platformName": "Desktop",
      "vendor": "Qt",
      "colorDepths": [
          32
      ],
      "pathEntries": [
      ],
      "environmentEntries": [
      ],
      "cmakeEntries": [
         {
              "id": "Qul_DIR",
              "label": "Qt for MCUs SDK",
              "type": "path",
              "cmakeVar": "Qul_ROOT",
              "optional": false
         }
      ]
  },
  "toolchain": {
    "id": "msvc",
    "versions": [
        "19.20","19.21","19.22","19.23","19.24",
        "19.25","19.26","19.27","19.28","19.29"
    ],
    "compiler": {
      "defaultValue": "$MSVC_COMPILER_DIR",
      "versionDetection" : {
            "filePattern": "cl.exe",
            "executableArgs": "--version",
            "regex": "\\b(\\d+\\.\\d+)\\.\\d+\\b"
        }
    }
  }
})";