From f9c1fb9a88144aa546879085f74eb701651b9593 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Br=C3=BCning?= Date: Mon, 23 Jun 2014 15:15:23 +0200 Subject: Enable 64 bit builds on Windows. Ninja needs to have an _x64 appended to the configuration in order to build the 64 bit targets on Windows, as opposed to Linux and OS X. Change-Id: Idc9888c9f80ccb27d26fb86588ed39fba92a2c71 Reviewed-by: Zeno Albisser --- tools/qmake/mkspecs/features/functions.prf | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tools/qmake/mkspecs/features') diff --git a/tools/qmake/mkspecs/features/functions.prf b/tools/qmake/mkspecs/features/functions.prf index 76243a3e6..88a5aad7a 100644 --- a/tools/qmake/mkspecs/features/functions.prf +++ b/tools/qmake/mkspecs/features/functions.prf @@ -21,6 +21,11 @@ defineReplace(toGypTargetType) { } defineReplace(getConfigDir) { + win32:contains(QMAKE_TARGET.arch, x86_64) { + CONFIG(release, debug|release):return("Release_x64") + return("Debug_x64") + } + CONFIG(release, debug|release):return("Release") return("Debug") } -- cgit v1.2.3