Commit 4b7c5871 authored by Bryant Mairs's avatar Bryant Mairs

Make sure we error on supported platforms.

parent 8ce71530
...@@ -32,21 +32,21 @@ linux { ...@@ -32,21 +32,21 @@ linux {
message("Linux build") message("Linux build")
CONFIG += LinuxBuild CONFIG += LinuxBuild
} else { } else {
message("Unsuported Linux toolchain, only GCC 32- or 64-bit is supported") error("Unsuported Linux toolchain, only GCC 32- or 64-bit is supported")
} }
} else : win32 { } else : win32 {
win32-msvc2010 | win32-msvc2012 | win32-msvc2013 { win32-msvc2010 | win32-msvc2012 | win32-msvc2013 {
message("Windows build") message("Windows build")
CONFIG += WindowsBuild CONFIG += WindowsBuild
} else { } else {
message("Unsupported Windows toolchain, only Visual Studio 2010, 2012, and 2013 are supported") error("Unsupported Windows toolchain, only Visual Studio 2010, 2012, and 2013 are supported")
} }
} else : macx { } else : macx {
macx-clang | macx-llvm { macx-clang | macx-llvm {
message("Mac build") message("Mac build")
CONFIG += MacBuild CONFIG += MacBuild
} else { } else {
message("Unsupported Mac toolchain, only 64-bit LLVM+clang is supported") error("Unsupported Mac toolchain, only 64-bit LLVM+clang is supported")
} }
} else { } else {
error("Unsupported build platform, only Linux, Windows, and Mac are supported") error("Unsupported build platform, only Linux, Windows, and Mac are supported")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment