-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build: Copy resources when building for ARM64 with MSBuild
- Loading branch information
1 parent
c3ed4fa
commit e25cb92
Showing
3 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<!-- Copy resources for ARM --> | ||
<ItemGroup> | ||
<BinRes Include="$(SolutionDir)bin\resources\**\*" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<BinDocs Include="$(SolutionDir)bin\docs\**\*" /> | ||
</ItemGroup> | ||
<Target Name="CopyBinResources" | ||
AfterTargets="Build" | ||
Inputs="@(BinRes)" | ||
Outputs="@(BinRes -> '$(OutDir)resources\%(RecursiveDir)%(Filename)%(Extension)')"> | ||
<Message Text="Copying Resources" Importance="High" /> | ||
<Copy | ||
SourceFiles="@(BinRes)" | ||
DestinationFolder="$(OutDir)resources\%(RecursiveDir)" | ||
SkipUnchangedFiles="true" | ||
/> | ||
</Target> | ||
<Target Name="CopyBinDocs" | ||
AfterTargets="Build" | ||
Inputs="@(BinDocs)" | ||
Outputs="@(BinDocs -> '$(OutDir)docs\%(RecursiveDir)%(Filename)%(Extension)')"> | ||
<Message Text="Copying Docs" Importance="High" /> | ||
<Copy | ||
SourceFiles="@(BinDocs)" | ||
DestinationFolder="$(OutDir)docs\%(RecursiveDir)" | ||
SkipUnchangedFiles="true" | ||
/> | ||
</Target> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters