1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-02 00:10:22 +02:00

Add CMake preset for iOS build without precompiled headers, which is required for ccache

This commit is contained in:
Alexander Wilms 2023-10-02 00:09:25 +02:00
parent d14c872164
commit 65354da5f1
2 changed files with 19 additions and 2 deletions

View File

@ -103,7 +103,7 @@ jobs:
test: 0
pack: 1
extension: ipa
preset: ios-release-conan
preset: ios-release-conan-ccache
conan_profile: ios-arm64
conan_options: --options with_apple_system_libs=True
- platform: msvc

View File

@ -217,7 +217,19 @@
"inherits": [
"base-ios-release",
"ios-device-conan"
]
],
"cacheVariables": {
"ENABLE_PCH" : "ON"
}
},
{
"name": "ios-release-conan-ccache",
"displayName": "iOS+Conan release using ccache",
"description": "VCMI iOS release using Conan and ccache",
"inherits": "ios-release-conan",
"cacheVariables": {
"ENABLE_PCH" : "OFF"
}
},
{
"name": "ios-release-legacy",
@ -327,6 +339,11 @@
"CODE_SIGNING_ALLOWED_FOR_APPS=NO"
]
},
{
"name": "ios-release-conan-ccache",
"configurePreset": "ios-release-conan-ccache",
"inherits": "ios-release-conan"
},
{
"name": "ios-release-legacy",
"configurePreset": "ios-release-legacy",