-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakePresets.json
65 lines (65 loc) · 1.9 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
{
"version": 6,
"cmakeMinimumRequired": {
"major": 3,
"minor": 25,
"patch": 0
},
"configurePresets": [
{
"name": "base",
"description": "For more information: http://aka.ms/cmakepresetsvs",
"hidden": true,
"generator": "Unix Makefiles",
"binaryDir": "${sourceDir}/build/${presetName}/",
"installDir": "${sourceDir}/build/${presetName}/install",
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Linux"
}
},
{
"name": "makefile-x86_64-linux-debug",
"displayName": "x64 Debug",
"inherits": "base",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"YOUTUBE_QT_BUILD_TESTS": "ON"
}
},
{
"name": "makefile-x86_64-linux-release",
"displayName": "x64 Release",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "MinSizeRel",
"YOUTUBE_QT_BUILD_TESTS": "OFF"
},
"inherits": "makefile-x86_64-linux-debug"
}
],
"buildPresets": [
{
"name": "debug-build-linux",
"displayName": "amd64Debug",
"configurePreset": "makefile-x86_64-linux-debug",
"description": "Debug build"
},
{
"name": "release-build-linux",
"displayName": "amd64Release",
"configurePreset": "makefile-x86_64-linux-release",
"description": "Release build"
}
],
"testPresets": [
{
"name": "test-amd64",
"description": "Testing on linux",
"configurePreset": "makefile-x86_64-linux-debug",
"output": {
"outputOnFailure": true
}
}
]
}