|
1 | 1 | { |
2 | | - "version": 3, |
| 2 | + "version": 8, |
3 | 3 | "cmakeMinimumRequired": { |
4 | 4 | "major": 3, |
5 | | - "minor": 22, |
| 5 | + "minor": 28, |
6 | 6 | "patch": 0 |
7 | 7 | }, |
8 | 8 | "configurePresets": [ |
|
29 | 29 | "warnings": {"dev": true, "deprecated": true}, |
30 | 30 | "cacheVariables": { |
31 | 31 | "CMAKE_OSX_DEPLOYMENT_TARGET": "11.0", |
| 32 | + "CMAKE_OSX_ARCHITECTURES": "arm64;x86_64", |
32 | 33 | "CODESIGN_IDENTITY": "$penv{CODESIGN_IDENT}", |
33 | 34 | "CODESIGN_TEAM": "$penv{CODESIGN_TEAM}" |
34 | 35 | } |
|
40 | 41 | "description": "Build for macOS 11.0+ (Universal binary) for CI", |
41 | 42 | "generator": "Xcode", |
42 | 43 | "cacheVariables": { |
43 | | - "CMAKE_COMPILE_WARNING_AS_ERROR": true |
| 44 | + "CMAKE_COMPILE_WARNING_AS_ERROR": true, |
| 45 | + "ENABLE_CCACHE": true |
44 | 46 | } |
45 | 47 | }, |
46 | 48 | { |
|
55 | 57 | "rhs": "Windows" |
56 | 58 | }, |
57 | 59 | "generator": "Visual Studio 17 2022", |
58 | | - "architecture": "x64", |
| 60 | + "architecture": "x64,version=10.0.22621", |
59 | 61 | "warnings": {"dev": true, "deprecated": true}, |
60 | 62 | "cacheVariables": { |
61 | 63 | "CMAKE_SYSTEM_VERSION": "10.0.18363.657" |
|
71 | 73 | } |
72 | 74 | }, |
73 | 75 | { |
74 | | - "name": "linux-x86_64", |
75 | | - "displayName": "Linux x86_64", |
76 | | - "description": "Build for Linux x86_64", |
| 76 | + "name": "ubuntu-x86_64", |
| 77 | + "displayName": "Ubuntu x86_64", |
| 78 | + "description": "Build for Ubuntu x86_64", |
77 | 79 | "inherits": ["template"], |
78 | 80 | "binaryDir": "${sourceDir}/build_x86_64", |
79 | 81 | "condition": { |
|
83 | 85 | }, |
84 | 86 | "generator": "Ninja", |
85 | 87 | "warnings": {"dev": true, "deprecated": true}, |
86 | | - "cacheVariables": { |
87 | | - "CMAKE_BUILD_TYPE": "RelWithDebInfo" |
88 | | - } |
89 | | - }, |
90 | | - { |
91 | | - "name": "linux-ci-x86_64", |
92 | | - "inherits": ["linux-x86_64"], |
93 | | - "displayName": "Linux x86_64 CI build", |
94 | | - "description": "Build for Linux x86_64 on CI", |
95 | 88 | "cacheVariables": { |
96 | 89 | "CMAKE_BUILD_TYPE": "RelWithDebInfo", |
97 | | - "CMAKE_COMPILE_WARNING_AS_ERROR": true |
98 | | - } |
99 | | - }, |
100 | | - { |
101 | | - "name": "linux-aarch64", |
102 | | - "displayName": "Linux aarch64", |
103 | | - "description": "Build for Linux aarch64", |
104 | | - "inherits": ["template"], |
105 | | - "binaryDir": "${sourceDir}/build_aarch64", |
106 | | - "condition": { |
107 | | - "type": "equals", |
108 | | - "lhs": "${hostSystemName}", |
109 | | - "rhs": "Linux" |
110 | | - }, |
111 | | - "generator": "Ninja", |
112 | | - "warnings": {"dev": true, "deprecated": true}, |
113 | | - "cacheVariables": { |
114 | | - "CMAKE_BUILD_TYPE": "RelWithDebInfo" |
| 90 | + "CMAKE_INSTALL_LIBDIR": "lib/CMAKE_SYSTEM_PROCESSOR-linux-gnu" |
115 | 91 | } |
116 | 92 | }, |
117 | 93 | { |
118 | | - "name": "linux-ci-aarch64", |
119 | | - "inherits": ["linux-aarch64"], |
120 | | - "displayName": "Linux aarch64 CI build", |
121 | | - "description": "Build for Linux aarch64 on CI", |
| 94 | + "name": "ubuntu-ci-x86_64", |
| 95 | + "inherits": ["ubuntu-x86_64"], |
| 96 | + "displayName": "Ubuntu x86_64 CI build", |
| 97 | + "description": "Build for Ubuntu x86_64 on CI", |
122 | 98 | "cacheVariables": { |
123 | 99 | "CMAKE_BUILD_TYPE": "RelWithDebInfo", |
124 | | - "CMAKE_COMPILE_WARNING_AS_ERROR": true |
| 100 | + "CMAKE_COMPILE_WARNING_AS_ERROR": true, |
| 101 | + "ENABLE_CCACHE": true |
125 | 102 | } |
126 | 103 | } |
127 | 104 | ], |
|
131 | 108 | "configurePreset": "macos", |
132 | 109 | "displayName": "macOS Universal", |
133 | 110 | "description": "macOS build for Universal architectures", |
134 | | - "configuration": "Release" |
| 111 | + "configuration": "RelWithDebInfo" |
135 | 112 | }, |
136 | 113 | { |
137 | 114 | "name": "macos-ci", |
|
155 | 132 | "configuration": "RelWithDebInfo" |
156 | 133 | }, |
157 | 134 | { |
158 | | - "name": "linux-x86_64", |
159 | | - "configurePreset": "linux-x86_64", |
160 | | - "displayName": "Linux x86_64", |
161 | | - "description": "Linux build for x86_64", |
162 | | - "configuration": "RelWithDebInfo" |
163 | | - }, |
164 | | - { |
165 | | - "name": "linux-ci-x86_64", |
166 | | - "configurePreset": "linux-ci-x86_64", |
167 | | - "displayName": "Linux x86_64 CI", |
168 | | - "description": "Linux CI build for x86_64", |
169 | | - "configuration": "RelWithDebInfo" |
170 | | - }, |
171 | | - { |
172 | | - "name": "linux-aarch64", |
173 | | - "configurePreset": "linux-aarch64", |
174 | | - "displayName": "Linux aarch64", |
175 | | - "description": "Linux build for aarch64", |
| 135 | + "name": "ubuntu-x86_64", |
| 136 | + "configurePreset": "ubuntu-x86_64", |
| 137 | + "displayName": "Ubuntu x86_64", |
| 138 | + "description": "Ubuntu build for x86_64", |
176 | 139 | "configuration": "RelWithDebInfo" |
177 | 140 | }, |
178 | 141 | { |
179 | | - "name": "linux-ci-aarch64", |
180 | | - "configurePreset": "linux-ci-aarch64", |
181 | | - "displayName": "Linux aarch64 CI", |
182 | | - "description": "Linux CI build for aarch64", |
| 142 | + "name": "ubuntu-ci-x86_64", |
| 143 | + "configurePreset": "ubuntu-ci-x86_64", |
| 144 | + "displayName": "Ubuntu x86_64 CI", |
| 145 | + "description": "Ubuntu CI build for x86_64", |
183 | 146 | "configuration": "RelWithDebInfo" |
184 | 147 | } |
185 | 148 | ] |
|
0 commit comments