-
-
Notifications
You must be signed in to change notification settings - Fork 25
/
CMakePresets.json
97 lines (97 loc) · 2.08 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
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 21,
"patch": 0
},
"configurePresets": [
{
"name": "default",
"hidden": true,
"displayName": "Default Config",
"description": "Default build using Ninja generator",
"generator": "Ninja",
"binaryDir": "${sourceDir}/cmake-build-${presetName}",
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "/usr"
}
},
{
"name": "default-windows",
"hidden": true,
"cacheVariables": {
"CMAKE_PREFIX_PATH": "c:/Qt/6.7.2/msvc2019_64",
"OPENSSL_ROOT": "c:/Qt/Tools/OpenSSLv3/Win_x64",
"CMAKE_INSTALL_PREFIX": "dist"
}
},
{
"name": "default-macos",
"hidden": true,
"cacheVariables": {
"CMAKE_PREFIX_PATH": "$env{HOME}/Qt/6.7.2/macos",
"CMAKE_INSTALL_PREFIX": "dist"
}
},
{
"name": "debug",
"inherits": "default",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "release",
"inherits": "default",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "debug-win",
"inherits": ["default-windows", "debug"]
},
{
"name": "release-win",
"inherits": ["default-windows", "release"]
},
{
"name": "release-macos",
"inherits": ["default-macos", "release"]
},
{
"name": "release-macos-noupdate",
"inherits": ["default-macos", "release"],
"cacheVariables": {
"KEMAI_ENABLE_UPDATE_CHECK": "OFF"
}
}
],
"buildPresets": [
{
"name": "debug",
"configurePreset": "debug"
},
{
"name": "release",
"configurePreset": "release"
},
{
"name": "debug-win",
"configurePreset": "debug-win"
},
{
"name": "release-win",
"configurePreset": "release-win"
},
{
"name": "release-macos",
"configurePreset": "release-macos"
},
{
"name": "release-macos-noupdate",
"configurePreset": "release-macos-noupdate"
}
]
}