diff options
author | Michael BrĂ¼ning <michael.bruning@digia.com> | 2014-06-23 15:15:23 +0200 |
---|---|---|
committer | Jocelyn Turcotte <jocelyn.turcotte@digia.com> | 2014-08-26 14:37:21 +0200 |
commit | f9c1fb9a88144aa546879085f74eb701651b9593 (patch) | |
tree | 1f7814a4db79b9684677a518d6bb18bb002a9827 /tools/qmake | |
parent | 5f8ca0c603865f9aabd89386c5edb4bfebedd0d5 (diff) |
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 <zeno.albisser@digia.com>
Diffstat (limited to 'tools/qmake')
-rw-r--r-- | tools/qmake/mkspecs/features/functions.prf | 5 |
1 files changed, 5 insertions, 0 deletions
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") } |