mirror of https://github.com/axmolengine/axmol.git
Improve build system error prompt
This commit is contained in:
parent
2740c4870b
commit
dc3be5aad3
|
@ -386,6 +386,9 @@ $toolchains = @{
|
||||||
if (!$TOOLCHAIN) {
|
if (!$TOOLCHAIN) {
|
||||||
$TOOLCHAIN = $toolchains[$TARGET_OS]
|
$TOOLCHAIN = $toolchains[$TARGET_OS]
|
||||||
}
|
}
|
||||||
|
if (!$TOOLCHAIN) {
|
||||||
|
throw "1kiss: Unsupported target os: $TARGET_OS"
|
||||||
|
}
|
||||||
$TOOLCHAIN_INFO = $TOOLCHAIN.Split('-')
|
$TOOLCHAIN_INFO = $TOOLCHAIN.Split('-')
|
||||||
$TOOLCHAIN_VER = $null
|
$TOOLCHAIN_VER = $null
|
||||||
if ($TOOLCHAIN_INFO.Count -ge 2) {
|
if ($TOOLCHAIN_INFO.Count -ge 2) {
|
||||||
|
|
Loading…
Reference in New Issue