aboutsummaryrefslogtreecommitdiff
path: root/tools/build.py
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2019-03-28 20:30:41 +0800
committercrupest <crupest@outlook.com>2019-03-28 20:30:41 +0800
commitd26845d0565f246bf9680810510b365d32772cdb (patch)
tree58e99214cc04017cd58f34290e284d5fbd701147 /tools/build.py
parent32314dd3d9aa01f929ee6d158d6f6ac2e0e22ed5 (diff)
downloadcru-d26845d0565f246bf9680810510b365d32772cdb.tar.gz
cru-d26845d0565f246bf9680810510b365d32772cdb.tar.bz2
cru-d26845d0565f246bf9680810510b365d32772cdb.zip
...
Diffstat (limited to 'tools/build.py')
-rw-r--r--tools/build.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/build.py b/tools/build.py
index ab7c1205..009b3aad 100644
--- a/tools/build.py
+++ b/tools/build.py
@@ -15,6 +15,8 @@ args = parser.parse_args()
project_root = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
os.chdir(project_root)
+os.environ['PreferredToolArchitecture'] = 'x64' # use x64 toolchain
+
generater_vs_arch_map = {
'x86': 'Win32',
'x64': 'x64'