2008-11-17 18:29:00 -05:00
|
|
|
<!--
|
|
|
|
###############################################################################
|
|
|
|
#
|
|
|
|
# Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
|
#
|
|
|
|
###############################################################################
|
|
|
|
-->
|
2008-03-05 09:52:00 -05:00
|
|
|
|
|
|
|
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
|
|
<PropertyGroup>
|
|
|
|
<!--
|
|
|
|
These two paths MUST end in "\".
|
|
|
|
Also, we add $(Configuration).$(Platform) to BaseIntermediateOutputPath, even though CommonTargets will
|
|
|
|
add them itself, because CommonTargets also generates some intermediate files *without* decorating them.
|
|
|
|
-->
|
2008-11-17 18:29:00 -05:00
|
|
|
<OutputPath Condition="'$(OutputPath)'==''">$(SINGULARITY_OBJROOT)\Windows\$(Configuration).$(Platform)\$(SubPath)</OutputPath>
|
|
|
|
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'==''">$(SINGULARITY_OBJROOT)\Windows.obj\$(Configuration).$(Platform)\$(SubPath)</BaseIntermediateOutputPath>
|
|
|
|
<SD Condition="'$(SD)'==''">$(BUILDDIR)\internal\sd.exe</SD>
|
2008-03-05 09:52:00 -05:00
|
|
|
<DebugSymbols>true</DebugSymbols>
|
|
|
|
<DebugType>full</DebugType>
|
2008-11-17 18:29:00 -05:00
|
|
|
<DefineDebug Condition="'$(Configuration)'=='Debug' or '$(Configuration)'=='Prototype'">true</DefineDebug>
|
|
|
|
<DefineTrace>true</DefineTrace>
|
|
|
|
<WindowsToolInstallDirectory Condition="'$(WindowsToolInstallDirectory)'==''" >$(SINGULARITY_ROOT)\build</WindowsToolInstallDirectory>
|
2008-03-05 09:52:00 -05:00
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
|
|
|
|
2008-11-17 18:29:00 -05:00
|
|
|
<PropertyGroup>
|
|
|
|
<CoreCompileDependsOn>RunCustomBuildTools</CoreCompileDependsOn>
|
|
|
|
</PropertyGroup>
|
|
|
|
|
2008-03-05 09:52:00 -05:00
|
|
|
<ItemGroup>
|
|
|
|
<InstallFile Include="@(IntermediateAssembly)"/>
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
<Target Name="CheckOut">
|
2008-11-17 18:29:00 -05:00
|
|
|
<Exec Command="$(SD) edit @(IntermediateAssembly->'$(WindowsToolInstallDirectory)\%(filename)%(extension)') @(IntermediateAssembly->'$(WindowsToolInstallDirectory)\%(filename).pdb')"/>
|
2008-03-05 09:52:00 -05:00
|
|
|
</Target>
|
|
|
|
|
2008-11-17 18:29:00 -05:00
|
|
|
<Target Name="InstallCopyOnly" DependsOnTargets="Build">
|
2008-03-05 09:52:00 -05:00
|
|
|
<Copy SourceFiles="@(IntermediateAssembly);@(IntermediateAssembly->'%(rootdir)%(directory)%(filename).pdb')"
|
2008-11-17 18:29:00 -05:00
|
|
|
DestinationFolder="$(WindowsToolInstallDirectory)"
|
2008-03-05 09:52:00 -05:00
|
|
|
SkipUnchangedFiles="true"
|
|
|
|
/>
|
|
|
|
</Target>
|
|
|
|
|
2008-11-17 18:29:00 -05:00
|
|
|
<Target Name="Install" Condition="$(SkipInstall)!='true'" DependsOnTargets="Build;CheckOut;InstallCopyOnly">
|
|
|
|
</Target>
|
|
|
|
|
|
|
|
<Import Condition="'$(SingularityCustomBuildToolsIncluded)'==''" Project="CustomBuildTools.targets"/>
|
|
|
|
|
|
|
|
<Target Name="GetNativeManifest">
|
|
|
|
<Message Text="GetNativeManifest - NYI"/>
|
2008-03-05 09:52:00 -05:00
|
|
|
</Target>
|
|
|
|
|
|
|
|
</Project>
|