aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/mcusupport/test/gcc_desktop_json.h
blob: bebaa16d834e7cdd6557478105d4e6558a1e1143 (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 gcc_desktop_json = R"({
  "qulVersion": "2.3.0",
  "compatVersion": "1",
  "platform": {
      "id": "Qt",
      "platformName": "Desktop",
      "vendor": "Qt",
      "colorDepths": [
          32
      ],
      "pathEntries": [
      ],
      "environmentEntries": [
      ],
      "cmakeEntries": [
         {
              "envVar": "Qul_DIR",
              "label": "Qt for MCUs SDK",
              "type": "path",
              "cmakeVar": "Qul_ROOT",
              "optional": false
         }
      ]
  },
  "toolchain": {
    "id": "gcc",
    "versions": [
      "9.4.0",
      "10.3.1"
    ],
    "compiler": {
      "defaultValue": "/usr",
      "versionDetection": {
          "filePattern": "bin/g++",
          "executableArgs": "--version",
          "regex": "\\b(\\d+\\.\\d+\\.\\d+)\\b"
      }
    }
  }
})";