mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-01 19:36:04 +08:00
Provisioning: Add CompilerException and CompilerThreads settings for Conan
Change-Id: I3a52101056bce4d3d4ac9124dbfd566adf47cf80 Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
This commit is contained in:
@@ -18,15 +18,25 @@ function Run-Conan-Install
|
||||
[string]$Compiler,
|
||||
[string]$CompilerVersion,
|
||||
[string]$CompilerRuntime,
|
||||
[string]$CompilerLibcxx
|
||||
[string]$CompilerLibcxx,
|
||||
[string]$CompilerException,
|
||||
[string]$CompilerThreads
|
||||
)
|
||||
|
||||
if ($CompilerRuntime) {
|
||||
$extraArgs = "-s compiler.runtime=$($CompilerRuntime)"
|
||||
$extraArgs += " -s compiler.runtime=$CompilerRuntime"
|
||||
}
|
||||
|
||||
if ($CompilerLibcxx) {
|
||||
$extraArgs = "-s compiler.libcxx=$($CompilerLibcxx)"
|
||||
$extraArgs += " -s compiler.libcxx=$CompilerLibcxx"
|
||||
}
|
||||
|
||||
if ($CompilerException) {
|
||||
$extraArgs += " -s compiler.exception=$CompilerException"
|
||||
}
|
||||
|
||||
if ($CompilerThreads) {
|
||||
$extraArgs += " -s compiler.threads=$CompilerThreads"
|
||||
}
|
||||
|
||||
$manifestsDir = "$PSScriptRoot\conan_manifests"
|
||||
|
||||
Reference in New Issue
Block a user