aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Prebuild/src/Core
diff options
context:
space:
mode:
authorUbitUmarov2017-08-31 15:17:42 +0100
committerUbitUmarov2017-08-31 15:17:42 +0100
commit3fe3471532db22eeb0d75c2b0ab56e6d2fc3eea8 (patch)
treed5fedd34bb891fd896fd90f8b8608f09c4c98711 /Prebuild/src/Core
parent .net4.5, take2; vs2010 does not do it, try to make mono5.x msbuild more happy (diff)
downloadopensim-SC-3fe3471532db22eeb0d75c2b0ab56e6d2fc3eea8.zip
opensim-SC-3fe3471532db22eeb0d75c2b0ab56e6d2fc3eea8.tar.gz
opensim-SC-3fe3471532db22eeb0d75c2b0ab56e6d2fc3eea8.tar.bz2
opensim-SC-3fe3471532db22eeb0d75c2b0ab56e6d2fc3eea8.tar.xz
improve Prefer32bit configuration option
Diffstat (limited to 'Prebuild/src/Core')
-rw-r--r--Prebuild/src/Core/Nodes/OptionsNode.cs18
-rw-r--r--Prebuild/src/Core/Targets/VSGenericTarget.cs2
2 files changed, 19 insertions, 1 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