aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Prebuild/src/Core/Targets/NAntTarget.cs
diff options
context:
space:
mode:
authorJeff Ames2008-03-25 07:49:31 +0000
committerJeff Ames2008-03-25 07:49:31 +0000
commite3ca1130757675c45268ec268026341ee4424b46 (patch)
treeabbae1825558dcca8bba21b8e7a37b2ec070e21b /Prebuild/src/Core/Targets/NAntTarget.cs
parent* Committing some voice related caps with hard coded responses so more debugg... (diff)
downloadopensim-SC_OLD-e3ca1130757675c45268ec268026341ee4424b46.zip
opensim-SC_OLD-e3ca1130757675c45268ec268026341ee4424b46.tar.gz
opensim-SC_OLD-e3ca1130757675c45268ec268026341ee4424b46.tar.bz2
opensim-SC_OLD-e3ca1130757675c45268ec268026341ee4424b46.tar.xz
Add "warnings as errors" support for nant and monodevelop to Prebuild (though monodevelop may ignore this).
Diffstat (limited to '')
-rw-r--r--Prebuild/src/Core/Targets/NAntTarget.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/Prebuild/src/Core/Targets/NAntTarget.cs b/Prebuild/src/Core/Targets/NAntTarget.cs
index 6ee6aef..dfb1ce3 100644
--- a/Prebuild/src/Core/Targets/NAntTarget.cs
+++ b/Prebuild/src/Core/Targets/NAntTarget.cs
@@ -284,6 +284,11 @@ namespace Prebuild.Core.Targets
284 } 284 }
285 foreach (ConfigurationNode conf in project.Configurations) 285 foreach (ConfigurationNode conf in project.Configurations)
286 { 286 {
287 ss.Write(" warnaserror=\"{0}\"", conf.Options.WarningsAsErrors);
288 break;
289 }
290 foreach (ConfigurationNode conf in project.Configurations)
291 {
287 ss.Write(" define=\"{0}\"", conf.Options.CompilerDefines); 292 ss.Write(" define=\"{0}\"", conf.Options.CompilerDefines);
288 break; 293 break;
289 } 294 }