Author: msierad
Date: 2006-10-08 06:57:42 -0400 (Sun, 08 Oct 2006)
New Revision: 66397
Modified:
trunk/mcs/tools/xbuild/ChangeLog
trunk/mcs/tools/xbuild/Makefile
trunk/mcs/tools/xbuild/xbuild/Microsoft.CSharp.targets
Log:
2006-10-08 Marek Sieradzki <[EMAIL PROTECTED]>
* xbuild/Microsoft.CSharp.targets: Added parameters that should be
passed to Csc.
Modified: trunk/mcs/tools/xbuild/ChangeLog
===================================================================
--- trunk/mcs/tools/xbuild/ChangeLog 2006-10-08 05:48:09 UTC (rev 66396)
+++ trunk/mcs/tools/xbuild/ChangeLog 2006-10-08 10:57:42 UTC (rev 66397)
@@ -1,5 +1,10 @@
-2006-09-05 Marek Sieradzki <[EMAIL PROTECTED]>
+2006-10-08 Marek Sieradzki <[EMAIL PROTECTED]>
+ * xbuild/Microsoft.CSharp.targets: Added parameters that should be
+ passed to Csc.
+
+2006-10-05 Marek Sieradzki <[EMAIL PROTECTED]>
+
* xbuild/Microsoft.CSharp.targets: Make $(OutputPath) directory before
compiling and put output in this directory.
Modified: trunk/mcs/tools/xbuild/Makefile
===================================================================
--- trunk/mcs/tools/xbuild/Makefile 2006-10-08 05:48:09 UTC (rev 66396)
+++ trunk/mcs/tools/xbuild/Makefile 2006-10-08 10:57:42 UTC (rev 66397)
@@ -16,6 +16,7 @@
$(INSTALL_DATA) xbuild/Microsoft.Common.tasks $(DESTDIR)$(EXTRAS_DIR)
$(INSTALL_DATA) xbuild/Microsoft.Build.xsd $(DESTDIR)$(EXTRAS_DIR)
$(INSTALL_DATA) xbuild/Microsoft.CSharp.targets $(DESTDIR)$(EXTRAS_DIR)
+# $(INSTALL_DATA) xbuild/Microsoft.Common.targets $(DESTDIR)$(EXTRAS_DIR)
# cp xbuild/Microsoft.CSharp.targets xbuild/Microsoft.CSharp.Targets
# $(INSTALL_DATA) xbuild/Microsoft.CSharp.Targets $(DESTDIR)$(EXTRAS_DIR)
Modified: trunk/mcs/tools/xbuild/xbuild/Microsoft.CSharp.targets
===================================================================
--- trunk/mcs/tools/xbuild/xbuild/Microsoft.CSharp.targets 2006-10-08
05:48:09 UTC (rev 66396)
+++ trunk/mcs/tools/xbuild/xbuild/Microsoft.CSharp.targets 2006-10-08
10:57:42 UTC (rev 66397)
@@ -1,5 +1,8 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <!-- xbuild Import support is flawed so we need to put everything
into one file. -->
+ <!-- COMMON -->
+
<PropertyGroup>
<TargetExt Condition="'$(OutputType)' ==
'Winexe'">.exe</TargetExt>
<TargetExt Condition="'$(OutputType)' == 'Exe'">.exe</TargetExt>
@@ -15,6 +18,8 @@
</PropertyGroup>
<Target Name="PrepareForBuild">
+ <Message Importance="High" Text="Configuration:
$(Configuration) Platform: $(Platform)"/>
+
<MakeDir
Condition="'$(OutputPath)' != ''"
Directories="$(OutputPath)"
@@ -29,17 +34,73 @@
</ResolveAssemblyReference>
</Target>
- <Target Name="Build"
DependsOnTargets="PrepareForBuild;ResolveAssemblyReferences">
+ <Target Name="Build"
DependsOnTargets="PrepareForBuild;ResolveAssemblyReferences;CoreCompile"/>
+
+ <!-- END OF COMMON -->
+
+
+ <PropertyGroup>
+
<DefaultLanguageSourceExtension>.cs</DefaultLanguageSourceExtension>
+ <Language>C#</Language>
+ </PropertyGroup>
+
+ <PropertyGroup>
+ <DebugSymbols Condition=" '$(DebugType)' == 'none'
">false</DebugSymbols>
+ <DebugType Condition=" '$(DebugType)' == 'none'
"></DebugType>
+ </PropertyGroup>
+
+ <ItemGroup>
+ <DocFileItem Include="$(DocumentationFile)"
Condition="'$(DocumentationFile)' != ''"/>
+ </ItemGroup>
+
+ <Target
+ Name="CoreCompile"
+ Inputs="@(Compile)"
+ Outputs="$(OutputPath)$(AssemblyName)$(TargetExt)"
+ >
<Csc
+ AdditionalLibPaths="$(AdditionalLibPaths)"
+ AddModules="@(AddModules)"
AllowUnsafeBlocks="$(AllowUnsafeBlocks)"
+ BaseAddress="$(BaseAddress)"
+ CheckForOverflowUnderflow="$(CheckForOverflowUnderflow)"
+ CodePage="$(CodePage)"
+ DebugType="$(DebugType)"
DefineConstants="$(DefineConstants)"
+ DelaySign="$(DelaySign)"
+ DisabledWarnings="$(_DisabledWarnings)"
+ DocumentationFile="@(DocFileItem)"
+ EmitDebugInformation="$(DebugSymbols)"
+ ErrorReport="$(ErrorReport)"
+ FileAlignment="$(FileAlignment)"
+ GenerateFullPaths="$(GenerateFullPaths)"
+ KeyContainer="$(KeyContainerName)"
+ KeyFile="$(KeyOriginatorFile)"
+ LangVersion="$(LangVersion)"
+ MainEntryPoint="$(StartupObject)"
+ ModuleAssemblyName="$(ModuleAssemblyName)"
NoConfig="true"
+ NoLogo="$(NoLogo)"
+ NoStandardLib="$(NoStdLib)"
+ Optimize="$(Optimize)"
OutputAssembly="$(OutputPath)$(AssemblyName)$(TargetExt)"
- References="@(ResolvedFiles)"
+ PdbFile="$(PdbFile)"
+ Platform="$(PlatformTarget)"
+ References="@(ResolvedFiles)"
+ ResponseFiles="$(CompilerResponseFile)"
Sources="@(Compile)"
TargetType="$(OutputType)"
+ TreatWarningsAsErrors="$(TreatWarningsAsErrors)"
+
UseHostCompilerIfAvailable="$(UseHostCompilerIfAvailable)"
+ Utf8Output="$(Utf8Output)"
WarningLevel="$(WarningLevel)"
+ WarningsAsErrors="$(WarningsAsErrors)"
+ Win32Icon="$(Win32Icon)"
+ Win32Resource="$(Win32Resource)"
/>
+ <!--
Resources="@(ManifestResourceWithNoCulture);@(ManifestNonResxWithNoCultureOnDisk);@(CompiledLicenseFile)"
-->
+ <!-- ToolPath="$(CscToolPath)" -->
+
</Target>
</Project>
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches