-
Notifications
You must be signed in to change notification settings - Fork 94
/
Copy pathCMakePresets.json
114 lines (114 loc) · 2.82 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
{
"version": 6,
"cmakeMinimumRequired": {
"major": 3,
"minor": 27,
"patch": 0
},
"include": [
"cmake-preset-files/base-presets.json"
],
"configurePresets": [
{
"name": "linux/release",
"displayName": "[linux-x86/64] Release",
"binaryDir": "${sourceDir}/cmake-build-linux/release",
"inherits": [
"base/linux-only",
"base/buildBaseWithVcpkg",
"base/release",
"base/allow_version_override_from_env"
]
},
{
"name": "linux/release/ci/with-ccache",
"binaryDir": "${sourceDir}/cmake-build-linux/release",
"inherits": [
"linux/release",
"base/linuxCcache"
]
},
{
"name": "linux/release/ci/with-ccache/compact-zero",
"binaryDir": "${sourceDir}/cmake-build-linux/release-compact-zero",
"inherits": [
"linux/release/ci/with-ccache",
"base/compact-zero-mode"
]
},
{
"name": "msvc/release",
"displayName": "[MSVC-x86/64] Release",
"binaryDir": "${sourceDir}/cmake-build-msvc/release",
"inherits": [
"base/buildBaseWithVcpkg",
"base/release",
"base/gccCompatCacheVar",
"base/windows-only",
"base/ensure-cl-compiler",
"base/allow_version_override_from_env"
],
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "${sourceDir}/cmake-install-w32-nsis-release"
}
},
{
"name": "msvc/release/ci/with-external-asymptote-pdf",
"inherits": [
"msvc/release"
],
"cacheVariables": {
"ENABLE_ASYMPTOTE_PDF_DOCGEN": "false",
"EXTERNAL_DOCUMENTATION_DIR": "${sourceDir}/asydoc"
}
},
{
"name": "msvc/release/with-external-doc-files",
"inherits": [
"msvc/release/ci/with-external-asymptote-pdf"
],
"cacheVariables": {
"ENABLE_DOCGEN": "false"
}
},
{
"name": "msvc/release/with-external-doc-files/with-ctan",
"inherits": [
"msvc/release/with-external-doc-files",
"base/ctan"
]
}
],
"buildPresets": [
{
"name": "msvc/release",
"displayName": "[MSVC-x86/64] Release",
"inherits": [
"build-base/windows-only"
],
"configurePreset": "msvc/release"
},
{
"name": "linux/release",
"displayName": "[linux-x86/64] Release",
"configurePreset": "linux/release",
"inherits": [
"build-base/linux-only"
]
},
{
"name": "linux/release/ci/with-ccache",
"configurePreset": "linux/release/ci/with-ccache",
"inherits": [
"build-base/linux-only"
]
},
{
"name": "linux/release/ci/with-ccache/compact-zero",
"configurePreset": "linux/release/ci/with-ccache/compact-zero",
"inherits": [
"build-base/linux-only"
]
}
]
}