diff --git a/Prebuild/src/Core/Nodes/OptionsNode.cs b/Prebuild/src/Core/Nodes/OptionsNode.cs index 577de710ed..490fd6f540 100644 --- a/Prebuild/src/Core/Nodes/OptionsNode.cs +++ b/Prebuild/src/Core/Nodes/OptionsNode.cs @@ -277,6 +277,24 @@ namespace Prebuild.Core.Nodes m_SuppressWarnings = value; } } + + [OptionNode("Prefer32Bit")] + private bool m_Prefer32Bit; + + /// + /// + /// + public bool Prefer32Bit + { + get + { + return m_Prefer32Bit; + } + set + { + m_Prefer32Bit = value; + } + } [OptionNode("OutputPath")] private string m_OutputPath = "bin/"; diff --git a/Prebuild/src/Core/Targets/VSGenericTarget.cs b/Prebuild/src/Core/Targets/VSGenericTarget.cs index 424e4d1227..c12120f761 100644 --- a/Prebuild/src/Core/Targets/VSGenericTarget.cs +++ b/Prebuild/src/Core/Targets/VSGenericTarget.cs @@ -254,7 +254,7 @@ namespace Prebuild.Core.Targets ps.WriteLine(" {0}", conf.Options["NoStdLib"]); ps.WriteLine(" {0}", conf.Options["SuppressWarnings"]); ps.WriteLine(" {0}", conf.Platform); - ps.WriteLine(" false"); + ps.WriteLine(" {0}",conf.Options["Prefer32Bit"]); ps.WriteLine(" "); } diff --git a/Prebuild/src/data/prebuild-1.10.xsd b/Prebuild/src/data/prebuild-1.10.xsd index eee07a8f01..ddfa2c5689 100644 --- a/Prebuild/src/data/prebuild-1.10.xsd +++ b/Prebuild/src/data/prebuild-1.10.xsd @@ -186,8 +186,9 @@ - - + + + diff --git a/bin/Prebuild.exe b/bin/Prebuild.exe index 2258d3de63..98da714fb3 100755 Binary files a/bin/Prebuild.exe and b/bin/Prebuild.exe differ diff --git a/prebuild.xml b/prebuild.xml index 2ee87f066b..2d65db4ec3 100644 --- a/prebuild.xml +++ b/prebuild.xml @@ -14,6 +14,7 @@ true true false + false @@ -29,6 +30,7 @@ false true false + false