]>
Commit | Line | Data |
---|---|---|
0f5d89e8 A |
1 | <?xml version="1.0" encoding="utf-8"?>\r |
2 | <!-- Copyright (C) 2016 and later: Unicode, Inc. and others. License & terms of use: http://www.unicode.org/copyright.html -->\r | |
3 | <!--\r | |
4 | This file is used to copy all of the header files (*.h) from a project's "unicode" folder to a common output folder.\r | |
5 | -->\r | |
6 | <Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">\r | |
7 | <PropertyGroup>\r | |
8 | <!-- This is the location of the common output folder. -->\r | |
9 | <CopyDestionationPath>$(SolutionDir)\..\..\include\unicode</CopyDestionationPath>\r | |
10 | <BuildDependsOn>\r | |
11 | $(BuildDependsOn);\r | |
12 | CopyUnicodeHeaderFiles;\r | |
13 | </BuildDependsOn>\r | |
14 | </PropertyGroup>\r | |
15 | <Target Name="CopyUnicodeHeaderFiles">\r | |
16 | <ItemGroup>\r | |
17 | <!-- Generate a list of all files that end in .h from the 'unicode' folder, relative to the current project. -->\r | |
18 | <OutputFiles Include=".\unicode\**\*.h" />\r | |
19 | </ItemGroup>\r | |
20 | <!-- This message will be logged in the project's build output. -->\r | |
21 | <Message Text="Copying @(OutputFiles->Count()) header files to $(CopyDestionationPath). Files copied: @(OutputFiles)" Importance="high"/>\r | |
22 | <!-- Perform the copy. -->\r | |
23 | <Copy SourceFiles="@(OutputFiles)" \r | |
24 | DestinationFolder="$(CopyDestionationPath)\%(RecursiveDir)"\r | |
25 | SkipUnchangedFiles="false"></Copy>\r | |
26 | </Target>\r | |
27 | </Project> |