2010-06-08 Jonathan Chambers <joncham@gmail.com>
[mono.git] / mcs / build / msbuild / Mono.Common.targets
1 <?xml version="1.0" encoding="utf-8"?>\r
2 <Project ToolsVersion="3.5" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">\r
3   <Import Project="$(MSBuildExtensionsPath)\ExtensionPack\MSBuild.ExtensionPack.tasks"/>\r
4   <PropertyGroup  Condition=" '$(USE_MONO_COMPILER)' == '1' ">\r
5     <CscToolExe>gmcs.bat</CscToolExe>\r
6     <CscToolPath>C:\MonoExperimental2.5.0\bin</CscToolPath>\r
7   </PropertyGroup>\r
8   <PropertyGroup Condition=" ('$(Configuration)' == 'basic' Or '$(Configuration)' == 'basic_XML_DEP') ">\r
9     <OutputPath Condition=" '$(OutputPath)' == '' ">$(MSBuildProjectDirectory)\..\lib\basic\</OutputPath>\r
10   </PropertyGroup>\r
11   <PropertyGroup Condition=" '$(Configuration)' == 'net_2_0_bootstrap' ">\r
12     <OutputPath Condition=" '$(OutputPath)' == '' ">$(MSBuildProjectDirectory)\..\lib\net_2_0_bootstrap\</OutputPath>\r
13   </PropertyGroup>\r
14   <Target Name="SetupProject">\r
15     <Copy SourceFiles="$(ResponseFile)" DestinationFiles="$(ResponseFile).msbuild"/>\r
16           <MSBuild.ExtensionPack.FileSystem.File TaskAction="Replace" RegexPattern="/" Replacement="\" Files="$(ResponseFile).msbuild"/>\r
17           <MakeDir Directories="$(OutputDirectory)"/>\r
18   </Target>\r
19   <PropertyGroup Condition=" '$(ResponseFile)' == '' ">\r
20     <ResponseFile>$(MSBuildProjectName).dll.sources</ResponseFile>\r
21   </PropertyGroup>\r
22   <PropertyGroup>\r
23     <CompilerResponseFile>$(ResponseFile).msbuild</CompilerResponseFile>\r
24   </PropertyGroup>\r
25 </Project>