57 lines
2.5 KiB
XML
57 lines
2.5 KiB
XML
<!--
|
|
###############################################################################
|
|
#
|
|
# Copyright (c) Microsoft Corporation. All rights reserved.
|
|
#
|
|
###############################################################################
|
|
-->
|
|
|
|
<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.
|
|
-->
|
|
<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>
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DebugType>full</DebugType>
|
|
<DefineDebug Condition="'$(Configuration)'=='Debug' or '$(Configuration)'=='Prototype'">true</DefineDebug>
|
|
<DefineTrace>true</DefineTrace>
|
|
<WindowsToolInstallDirectory Condition="'$(WindowsToolInstallDirectory)'==''" >$(SINGULARITY_ROOT)\build</WindowsToolInstallDirectory>
|
|
</PropertyGroup>
|
|
|
|
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
|
|
|
<PropertyGroup>
|
|
<CoreCompileDependsOn>RunCustomBuildTools</CoreCompileDependsOn>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<InstallFile Include="@(IntermediateAssembly)"/>
|
|
</ItemGroup>
|
|
|
|
<Target Name="CheckOut">
|
|
<Exec Command="$(SD) edit @(IntermediateAssembly->'$(WindowsToolInstallDirectory)\%(filename)%(extension)') @(IntermediateAssembly->'$(WindowsToolInstallDirectory)\%(filename).pdb')"/>
|
|
</Target>
|
|
|
|
<Target Name="InstallCopyOnly" DependsOnTargets="Build">
|
|
<Copy SourceFiles="@(IntermediateAssembly);@(IntermediateAssembly->'%(rootdir)%(directory)%(filename).pdb')"
|
|
DestinationFolder="$(WindowsToolInstallDirectory)"
|
|
SkipUnchangedFiles="true"
|
|
/>
|
|
</Target>
|
|
|
|
<Target Name="Install" Condition="$(SkipInstall)!='true'" DependsOnTargets="Build;CheckOut;InstallCopyOnly">
|
|
</Target>
|
|
|
|
<Import Condition="'$(SingularityCustomBuildToolsIncluded)'==''" Project="CustomBuildTools.targets"/>
|
|
|
|
<Target Name="GetNativeManifest">
|
|
<Message Text="GetNativeManifest - NYI"/>
|
|
</Target>
|
|
|
|
</Project>
|