72 lines
2.4 KiB
XML
Executable File
72 lines
2.4 KiB
XML
Executable File
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<ItemGroup>
|
|
<PropertyPageSchema
|
|
Include="$(MSBuildThisFileDirectory)$(MSBuildThisFileName).xml" />
|
|
<AvailableItemName
|
|
Include="copy">
|
|
<Targets>_copy</Targets>
|
|
</AvailableItemName>
|
|
</ItemGroup>
|
|
<UsingTask
|
|
TaskName="copy"
|
|
TaskFactory="XamlTaskFactory"
|
|
AssemblyName="Microsoft.Build.Tasks.v4.0">
|
|
<Task>$(MSBuildThisFileDirectory)$(MSBuildThisFileName).xml</Task>
|
|
</UsingTask>
|
|
<Target
|
|
Name="_copy"
|
|
BeforeTargets="$(copyBeforeTargets)"
|
|
AfterTargets="$(copyAfterTargets)"
|
|
Condition="'@(copy)' != ''"
|
|
DependsOnTargets="$(copyDependsOn);ComputecopyOutput"
|
|
Outputs="@(copy->'%(Outputs)')"
|
|
Inputs="@(copy)">
|
|
<ItemGroup
|
|
Condition="'@(SelectedFiles)' != ''">
|
|
<copy
|
|
Remove="@(copy)"
|
|
Condition="'%(Identity)' != '@(SelectedFiles)'" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<copy_tlog
|
|
Include="%(copy.Outputs)"
|
|
Condition="'%(copy.Outputs)' != '' and '%(copy.ExcludedFromBuild)' != 'true'">
|
|
<Source>@(copy, '|')</Source>
|
|
</copy_tlog>
|
|
</ItemGroup>
|
|
<Message
|
|
Importance="High"
|
|
Text="%(copy.ExecutionDescription)" />
|
|
<WriteLinesToFile
|
|
Condition="'@(copy_tlog)' != '' and '%(copy_tlog.ExcludedFromBuild)' != 'true'"
|
|
File="$(TLogLocation)$(ProjectName).write.1.tlog"
|
|
Lines="^%(copy_tlog.Source);@(copy_tlog->'%(Fullpath)')" />
|
|
<copy
|
|
Condition="'@(copy)' != '' and '%(copy.ExcludedFromBuild)' != 'true'"
|
|
CommandLineTemplate="%(copy.CommandLineTemplate)"
|
|
AdditionalOptions="%(copy.AdditionalOptions)"
|
|
Inputs="@(copy)" />
|
|
</Target>
|
|
<PropertyGroup>
|
|
<ComputeLinkInputsTargets>
|
|
$(ComputeLinkInputsTargets);
|
|
ComputecopyOutput;
|
|
</ComputeLinkInputsTargets>
|
|
<ComputeLibInputsTargets>
|
|
$(ComputeLibInputsTargets);
|
|
ComputecopyOutput;
|
|
</ComputeLibInputsTargets>
|
|
</PropertyGroup>
|
|
<Target
|
|
Name="ComputecopyOutput"
|
|
Condition="'@(copy)' != ''">
|
|
<ItemGroup>
|
|
<copyDirsToMake
|
|
Condition="'@(copy)' != '' and '%(copy.ExcludedFromBuild)' != 'true'"
|
|
Include="%(copy.Outputs)" />
|
|
</ItemGroup>
|
|
<MakeDir
|
|
Directories="@(copyDirsToMake->'%(RootDir)%(Directory)')" />
|
|
</Target>
|
|
</Project> |