Make this work on Visual Studio prior to VS2013 too.
This commit is contained in:
parent
6f2e6f5a0e
commit
b280f2bebe
@ -2174,11 +2174,17 @@
|
||||
|
||||
|
||||
function m.preferredToolArchitecture(prj)
|
||||
if _ACTION >= "vs2013" then
|
||||
if prj.preferredtoolarchitecture == p.X86_64 then
|
||||
m.element("PreferredToolArchitecture", nil, 'x64')
|
||||
elseif prj.preferredtoolarchitecture == p.X86 then
|
||||
m.element("PreferredToolArchitecture", nil, 'x86')
|
||||
end
|
||||
else
|
||||
if prj.preferredtoolarchitecture == p.X86_64 then
|
||||
m.element("UseNativeEnvironment", nil, 'true')
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user