aboutsummaryrefslogtreecommitdiff
path: root/CMakePresets.json
blob: eb37f11b269e7f99f4c155c0f3123fd2b8ffa32c (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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
  "version": 5,
  "configurePresets": [
    {
      "name": "base",
      "generator": "Ninja Multi-Config",
      "binaryDir": "${sourceDir}/build/${presetName}",
      "hidden": true
    },
    {
      "name": "windows64",
      "displayName": "Windows64",
      "inherits": "base",
      "cacheVariables": {
        "PLATFORM_DEFINES": "_WINDOWS64",
        "PLATFORM_NAME": "Windows64",
        "IGGY_LIBS": "iggy_w64.lib;iggyperfmon_w64.lib;iggyexpruntime_w64.lib"
      }
    },
    {
      "name": "durango",
      "displayName": "Durango",
      "inherits": "base",
      "toolchainFile": "${sourceDir}/cmake/toolchains/durango.cmake",
      "cacheVariables": {
        "PLATFORM_DEFINES": "_DURANGO;_XBOX_ONE",
        "PLATFORM_NAME": "Durango",
        "IGGY_LIBS": "iggy_durango.lib;iggyperfmon_durango.lib"
      }
    },
    {
      "name": "orbis",
      "displayName": "ORBIS",
      "inherits": "base",
      "toolchainFile": "${sourceDir}/cmake/toolchains/orbis.cmake",
      "cacheVariables": {
        "PLATFORM_DEFINES": "__ORBIS__",
        "PLATFORM_NAME": "Orbis",
        "IGGY_LIBS": "libiggy_orbis.a;libiggyperfmon_orbis.a"
      }
    },
    {
      "name": "ps3",
      "displayName": "PS3",
      "inherits": "base",
      "toolchainFile": "${sourceDir}/cmake/toolchains/ps3.cmake",
      "cacheVariables": {
        "PLATFORM_DEFINES": "__PS3__",
        "PLATFORM_NAME": "PS3",
        "IGGY_LIBS": "libiggy_ps3.a;libiggyperfmon_ps3.a;libiggyexpruntime_ps3.a"
      }
    },
    {
      "name": "psvita",
      "displayName": "PSVita",
      "inherits": "base",
      "toolchainFile": "${sourceDir}/cmake/toolchains/psvita.cmake",
      "cacheVariables": {
        "PLATFORM_DEFINES": "__PSVITA__",
        "PLATFORM_NAME": "PSVita",
        "IGGY_LIBS": "libiggy_psp2.a;libiggyperfmon_psp2.a"
      }
    },
    {
      "name": "xbox360",
      "displayName": "Xbox 360",
      "inherits": "base",
      "toolchainFile": "${sourceDir}/cmake/toolchains/xbox360.cmake",
      "cacheVariables": {
        "PLATFORM_DEFINES": "_XBOX",
        "PLATFORM_NAME": "Xbox"
      }
    }
  ],
  "buildPresets": [
    { "name": "windows64-debug",   "displayName": "Windows64 - Debug",   "configurePreset": "windows64", "configuration": "Debug" },
    { "name": "windows64-release", "displayName": "Windows64 - Release", "configurePreset": "windows64", "configuration": "Release" },

    { "name": "durango-debug",     "displayName": "Durango - Debug",     "configurePreset": "durango",   "configuration": "Debug" },
    { "name": "durango-release",   "displayName": "Durango - Release",   "configurePreset": "durango",   "configuration": "Release" },

    { "name": "orbis-debug",       "displayName": "ORBIS - Debug",       "configurePreset": "orbis",     "configuration": "Debug" },
    { "name": "orbis-release",     "displayName": "ORBIS - Release",     "configurePreset": "orbis",     "configuration": "Release" },

    { "name": "ps3-debug",         "displayName": "PS3 - Debug",         "configurePreset": "ps3",       "configuration": "Debug" },
    { "name": "ps3-release",       "displayName": "PS3 - Release",       "configurePreset": "ps3",       "configuration": "Release" },

    { "name": "psvita-debug",      "displayName": "PSVita - Debug",      "configurePreset": "psvita",    "configuration": "Debug" },
    { "name": "psvita-release",    "displayName": "PSVita - Release",    "configurePreset": "psvita",    "configuration": "Release" },

    { "name": "xbox360-debug",     "displayName": "Xbox 360 - Debug",    "configurePreset": "xbox360",   "configuration": "Debug" },
    { "name": "xbox360-release",   "displayName": "Xbox 360 - Release",  "configurePreset": "xbox360",   "configuration": "Release" }
  ]
}