-
Notifications
You must be signed in to change notification settings - Fork 13
/
CMakePresets.json
156 lines (156 loc) · 4.38 KB
/
CMakePresets.json
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
{
"version": 2,
"configurePresets": [
{
"name": "configure-base",
"hidden": true,
"generator": "Ninja",
"cacheVariables": {
"KDGPU_BUILD_TESTS": "OFF",
"KDGPU_CODE_COVERAGE": "OFF"
}
},
{
"name": "msvc_x64",
"hidden": true,
"architecture": {
"value": "x64",
"strategy": "external"
},
"toolset": {
"value": "host=x64",
"strategy": "external"
},
"cacheVariables": {
"CMAKE_C_COMPILER": "cl",
"CMAKE_CXX_COMPILER": "cl"
}
},
{
"name": "debug",
"displayName": "Debug",
"inherits": [
"configure-base"
],
"binaryDir": "${sourceDir}/build/Debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"KDGPU_BUILD_TESTS": "ON",
"KDGPU_CODE_COVERAGE": "ON"
},
"environment": {
"KDGPUEXAMPLE_ASSET_PATH": "${sourceDir}/build/Debug/assets"
}
},
{
"name": "debug-msvc_x64",
"displayName": "Debug (msvc_x64)",
"inherits": [
"configure-base",
"msvc_x64"
],
"binaryDir": "${sourceDir}/build/Debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"KDGPU_BUILD_TESTS": "ON"
},
"environment": {
"KDGPUEXAMPLE_ASSET_PATH": "${sourceDir}/build/Debug/assets"
}
},
{
"name": "release",
"displayName": "Release",
"inherits": [
"configure-base"
],
"binaryDir": "${sourceDir}/build/Release",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
},
"environment": {
"KDGPUEXAMPLE_ASSET_PATH": "${sourceDir}/build/Release/assets"
}
},
{
"name": "release-msvc_x64",
"displayName": "Release (msvc_x64)",
"inherits": [
"configure-base",
"msvc_x64"
],
"binaryDir": "${sourceDir}/build/Release",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
},
"environment": {
"KDGPUEXAMPLE_ASSET_PATH": "${sourceDir}/build/Release/assets"
}
},
{
"name": "profile",
"displayName": "Profile",
"inherits": [
"configure-base"
],
"binaryDir": "${sourceDir}/build/Profile",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
},
"environment": {
"KDGPUEXAMPLE_ASSET_PATH": "${sourceDir}/build/Profile/assets"
}
},
{
"name": "profile-msvc_x64",
"displayName": "Profile (msvc_x64)",
"inherits": [
"configure-base",
"msvc_x64"
],
"binaryDir": "${sourceDir}/build/Profile",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
},
"environment": {
"KDGPUEXAMPLE_ASSET_PATH": "${sourceDir}/build/Profile/assets"
}
}
],
"buildPresets": [
{
"name": "debug",
"configurePreset": "debug"
},
{
"name": "release",
"configurePreset": "release"
},
{
"name": "profile",
"configurePreset": "profile"
},
{
"name": "debug-msvc_x64",
"configurePreset": "debug-msvc_x64"
},
{
"name": "release-msvc_x64",
"configurePreset": "release-msvc_x64"
},
{
"name": "profile-msvc_x64",
"configurePreset": "profile-msvc_x64"
}
],
"testPresets": [
{
"name": "debug",
"configurePreset": "debug"
},
{
"name": "debug-msvc_x64",
"configurePreset": "debug-msvc_x64"
}
]
}