Fixing PowerShell script.
This commit is contained in:
parent
a558a788ae
commit
aa85a0bde9
38
appveyor.yml
38
appveyor.yml
|
@ -357,31 +357,31 @@ for:
|
||||||
& qbs-setup-toolchains.exe --type msvc $env:MSVC_PATH\cl.exe $env:COMPILER
|
& qbs-setup-toolchains.exe --type msvc $env:MSVC_PATH\cl.exe $env:COMPILER
|
||||||
& qbs-config.exe profiles.qt6.baseProfile $env:COMPILER
|
& qbs-config.exe profiles.qt6.baseProfile $env:COMPILER
|
||||||
$profile = @"
|
$profile = @"
|
||||||
[settings]
|
[settings]
|
||||||
build_type=Release
|
build_type=Release
|
||||||
compiler=msvc
|
compiler=msvc
|
||||||
compiler.cppstd=17
|
compiler.cppstd=17
|
||||||
compiler.runtime=dynamic
|
compiler.runtime=dynamic
|
||||||
compiler.runtime_type=Release
|
compiler.runtime_type=Release
|
||||||
compiler.version=192
|
compiler.version=192
|
||||||
os=Windows
|
os=Windows
|
||||||
$arch
|
$arch
|
||||||
"@
|
"@
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
& qbs-setup-toolchains.exe --type mingw $env:MINGW_PATH\g++.exe $env:COMPILER
|
& qbs-setup-toolchains.exe --type mingw $env:MINGW_PATH\g++.exe $env:COMPILER
|
||||||
& qbs-config.exe profiles.qt6.baseProfile $env:COMPILER
|
& qbs-config.exe profiles.qt6.baseProfile $env:COMPILER
|
||||||
$profile = @"
|
$profile = @"
|
||||||
[settings]
|
[settings]
|
||||||
build_type=Release
|
build_type=Release
|
||||||
compiler=gcc
|
compiler=gcc
|
||||||
compiler.cppstd=gnu17
|
compiler.cppstd=gnu17
|
||||||
compiler.libcxx=libstdc++11
|
compiler.libcxx=libstdc++11
|
||||||
compiler.version=$env:GCC_VERSION
|
compiler.version=$env:GCC_VERSION
|
||||||
os=Windows
|
os=Windows
|
||||||
$arch
|
$arch
|
||||||
"@
|
"@
|
||||||
}
|
}
|
||||||
$profile | Out-File -FilePath "$env:HOMEPATH\.conan2\profiles\valentina"
|
$profile | Out-File -FilePath "$env:HOMEPATH\.conan2\profiles\valentina"
|
||||||
- qbs-config --list profiles
|
- qbs-config --list profiles
|
||||||
|
|
Loading…
Reference in New Issue
Block a user