aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Prebuild/src
diff options
context:
space:
mode:
Diffstat (limited to 'Prebuild/src')
-rw-r--r--Prebuild/src/Core/Nodes/OptionsNode.cs18
-rw-r--r--Prebuild/src/Core/Targets/VSGenericTarget.cs2
-rw-r--r--Prebuild/src/data/prebuild-1.10.xsd5
3 files changed, 22 insertions, 3 deletions
diff --git a/Prebuild/src/Core/Nodes/OptionsNode.cs b/Prebuild/src/Core/Nodes/OptionsNode.cs
index 577de71..490fd6f 100644
--- a/Prebuild/src/Core/Nodes/OptionsNode.cs
+++ b/Prebuild/src/Core/Nodes/OptionsNode.cs
@@ -277,6 +277,24 @@ namespace Prebuild.Core.Nodes
277 m_SuppressWarnings = value; 277 m_SuppressWarnings = value;
278 } 278 }
279 } 279 }
280
281 [OptionNode("Prefer32Bit")]
282 private bool m_Prefer32Bit;
283
284 /// <summary>
285 ///
286 /// </summary>
287 public bool Prefer32Bit
288 {
289 get
290 {
291 return m_Prefer32Bit;
292 }
293 set
294 {
295 m_Prefer32Bit = value;
296 }
297 }
280 298
281 [OptionNode("OutputPath")] 299 [OptionNode("OutputPath")]
282 private string m_OutputPath = "bin/"; 300 private string m_OutputPath = "bin/";
diff --git a/Prebuild/src/Core/Targets/VSGenericTarget.cs b/Prebuild/src/Core/Targets/VSGenericTarget.cs
index 424e4d1..c12120f 100644
--- a/Prebuild/src/Core/Targets/VSGenericTarget.cs
+++ b/Prebuild/src/Core/Targets/VSGenericTarget.cs
@@ -254,7 +254,7 @@ namespace Prebuild.Core.Targets
254 ps.WriteLine(" <NoStdLib>{0}</NoStdLib>", conf.Options["NoStdLib"]); 254 ps.WriteLine(" <NoStdLib>{0}</NoStdLib>", conf.Options["NoStdLib"]);
255 ps.WriteLine(" <NoWarn>{0}</NoWarn>", conf.Options["SuppressWarnings"]); 255 ps.WriteLine(" <NoWarn>{0}</NoWarn>", conf.Options["SuppressWarnings"]);
256 ps.WriteLine(" <PlatformTarget>{0}</PlatformTarget>", conf.Platform); 256 ps.WriteLine(" <PlatformTarget>{0}</PlatformTarget>", conf.Platform);
257 ps.WriteLine(" <Prefer32Bit>false</Prefer32Bit>"); 257 ps.WriteLine(" <Prefer32Bit>{0}</Prefer32Bit>",conf.Options["Prefer32Bit"]);
258 ps.WriteLine(" </PropertyGroup>"); 258 ps.WriteLine(" </PropertyGroup>");
259 } 259 }
260 260
diff --git a/Prebuild/src/data/prebuild-1.10.xsd b/Prebuild/src/data/prebuild-1.10.xsd
index eee07a8..ddfa2c5 100644
--- a/Prebuild/src/data/prebuild-1.10.xsd
+++ b/Prebuild/src/data/prebuild-1.10.xsd
@@ -186,8 +186,9 @@
186 <xs:complexType> 186 <xs:complexType>
187 <xs:all> 187 <xs:all>
188 <xs:element name="CompilerDefines" type="xs:string" minOccurs="0" /> 188 <xs:element name="CompilerDefines" type="xs:string" minOccurs="0" />
189 <xs:element name="OptimizeCode" type="xs:boolean" minOccurs="0" /> 189 <xs:element name="OptimizeCode" type="xs:boolean" minOccurs="0" />
190 <xs:element name="CheckUnderflowOverflow" type="xs:boolean" minOccurs="0" /> 190 <xs:element name="Prefer32Bit" type="xs:boolean" minOccurs="0" />
191 <xs:element name="CheckUnderflowOverflow" type="xs:boolean" minOccurs="0" />
191 <xs:element name="AllowUnsafe" type="xs:boolean" minOccurs="0" /> 192 <xs:element name="AllowUnsafe" type="xs:boolean" minOccurs="0" />
192 <xs:element name="PreBuildEvent" type="xs:string" minOccurs="0" /> 193 <xs:element name="PreBuildEvent" type="xs:string" minOccurs="0" />
193 <xs:element name="PostBuildEvent" type="xs:string" minOccurs="0" /> 194 <xs:element name="PostBuildEvent" type="xs:string" minOccurs="0" />