-
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
391 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"version": 6, | ||
"cmakeMinimumRequired": { | ||
"major": 3, | ||
"minor": 25, | ||
"patch": 0 | ||
}, | ||
"include": [ | ||
"cmake/presets/common.json", | ||
"cmake/presets/macOS.json", | ||
"cmake/presets/iOS.json", | ||
"cmake/presets/Android.json" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
{ | ||
"version": 6, | ||
"include": ["common.json"], | ||
"configurePresets": [ | ||
{ | ||
"name": "Android", | ||
"displayName": "Android configuration using Qt6", | ||
"generator": "Ninja", | ||
"binaryDir": "${sourceParentDir}/build/qt6-Android", | ||
"toolchainFile": "$penv{Qt6_DIR}/lib/cmake/Qt6/qt.toolchain.cmake", | ||
"cacheVariables": { | ||
"CMAKE_BUILD_TYPE": "RelWithDebInfo" | ||
} | ||
}, | ||
{ | ||
"name": "Android-ccache", | ||
"displayName": "Android configuration using Qt6 and ccache", | ||
"inherits": ["dev", "ccache", "Android"] | ||
} | ||
], | ||
"buildPresets": [ | ||
{ | ||
"name": "Android", | ||
"displayName": "Android build using Qt6", | ||
"configurePreset": "Android" | ||
}, | ||
{ | ||
"name": "Android-ccache", | ||
"displayName": "Android build using Qt6 and ccache", | ||
"configurePreset": "Android-ccache" | ||
} | ||
], | ||
"packagePresets": [ | ||
{ | ||
"name": "Android", | ||
"displayName": "Android package using Qt6", | ||
"configurePreset": "Android" | ||
}, | ||
{ | ||
"name": "Android-ccache", | ||
"displayName": "Android package using Qt6 and ccache", | ||
"configurePreset": "Android-ccache" | ||
} | ||
], | ||
"workflowPresets": [ | ||
{ | ||
"name": "Android-ccache", | ||
"displayName": "Android workflow using Qt6 and ccache", | ||
"steps": [ | ||
{ | ||
"type": "configure", | ||
"name": "Android-ccache" | ||
}, | ||
{ | ||
"type": "build", | ||
"name": "Android-ccache" | ||
}, | ||
{ | ||
"type": "package", | ||
"name": "Android-ccache" | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"version": 6, | ||
"configurePresets": [ | ||
{ | ||
"name": "dev", | ||
"hidden": true, | ||
"warnings": { | ||
"dev": true, | ||
"deprecated": true, | ||
"uninitialized": false, | ||
"unusedCli": true, | ||
"systemVars": true | ||
}, | ||
"errors": { | ||
"dev": true, | ||
"deprecated": true | ||
} | ||
}, | ||
{ | ||
"name": "ccache", | ||
"hidden": true, | ||
"cacheVariables": { | ||
"CMAKE_C_COMPILER_LAUNCHER": "ccache", | ||
"CMAKE_CXX_COMPILER_LAUNCHER": "ccache" | ||
} | ||
} | ||
], | ||
"testPresets": [ | ||
{ | ||
"name": "default", | ||
"hidden": true, | ||
"output": { "outputOnFailure": true } | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
{ | ||
"version": 6, | ||
"include": ["common.json"], | ||
"configurePresets": [ | ||
{ | ||
"name": "iOS", | ||
"displayName": "iOS configuration using Qt6", | ||
"generator": "Ninja Multi-Config", | ||
"binaryDir": "${sourceParentDir}/build/qt6-iOS", | ||
"toolchainFile": "$penv{Qt6_DIR}/lib/cmake/Qt6/qt.toolchain.cmake", | ||
"cacheVariables": { | ||
"CMAKE_CONFIGURATION_TYPES": "Release;Debug", | ||
"CMAKE_OSX_ARCHITECTURES": "arm64;x86_64", | ||
"CMAKE_OSX_DEPLOYMENT_TARGET": "14.0" | ||
} | ||
}, | ||
{ | ||
"name": "iOS-ccache", | ||
"displayName": "iOS configuration using Qt6 and ccache", | ||
"inherits": ["dev", "ccache", "iOS"] | ||
} | ||
], | ||
"buildPresets": [ | ||
{ | ||
"name": "iOS", | ||
"displayName": "iOS release build using Qt6", | ||
"configurePreset": "iOS", | ||
"configuration": "Release" | ||
}, | ||
{ | ||
"name": "iOS-debug", | ||
"displayName": "iOS debug build using Qt6", | ||
"configurePreset": "iOS", | ||
"configuration": "Debug" | ||
}, | ||
{ | ||
"name": "iOS-ccache", | ||
"displayName": "iOS release build using Qt6 and ccache", | ||
"configurePreset": "iOS-ccache", | ||
"configuration": "Release" | ||
}, | ||
{ | ||
"name": "iOS-debug-ccache", | ||
"displayName": "iOS debug build using Qt6 and ccache", | ||
"configurePreset": "iOS-ccache", | ||
"configuration": "Debug" | ||
} | ||
], | ||
"packagePresets": [ | ||
{ | ||
"name": "iOS", | ||
"displayName": "iOS package using Qt6", | ||
"configurePreset": "iOS", | ||
"configurations": ["Release", "Debug"] | ||
}, | ||
{ | ||
"name": "iOS-ccache", | ||
"displayName": "iOS package using Qt6 and ccache", | ||
"configurePreset": "iOS-ccache", | ||
"configurations": ["Release", "Debug"] | ||
} | ||
], | ||
"workflowPresets": [ | ||
{ | ||
"name": "iOS-ccache", | ||
"displayName": "iOS workflow using Qt6 and ccache", | ||
"steps": [ | ||
{ | ||
"type": "configure", | ||
"name": "iOS-ccache" | ||
}, | ||
{ | ||
"type": "build", | ||
"name": "iOS-debug-ccache" | ||
}, | ||
{ | ||
"type": "build", | ||
"name": "iOS-ccache" | ||
}, | ||
{ | ||
"type": "package", | ||
"name": "iOS-ccache" | ||
} | ||
] | ||
} | ||
] | ||
} |
Oops, something went wrong.