diff options
Diffstat (limited to 'src/.nuget/optdata/optdata.csproj')
-rw-r--r-- | src/.nuget/optdata/optdata.csproj | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/src/.nuget/optdata/optdata.csproj b/src/.nuget/optdata/optdata.csproj index 62d975fe6f..57b331bf47 100644 --- a/src/.nuget/optdata/optdata.csproj +++ b/src/.nuget/optdata/optdata.csproj @@ -18,12 +18,37 @@ </RestoreSources> </PropertyGroup> + <!-- --> + <!-- Task: DumpPgoDataPackageVersion --> + <!-- --> + <!-- Notes: --> + <!-- --> + <!-- DumpPgoDataPackageVersion is used by build.sh and build.cmd to pass --> + <!-- the version information to cmake. The task will write a file to the --> + <!-- intermediates directory to be read back by build.cmd/sh. The path for --> + <!-- the file is $(OptDataIntermediateOutputPath)\optdataversion.txt --> + <!-- --> + <Target Name="DumpPgoDataPackageVersion"> - <Message Importance="high" Text="$(optimizationPGOCoreCLRVersion)" /> + <!-- Keep the old message for backcompat. --> + <Message Text="$(optimizationIBCCoreCLRVersion)" Importance="High" /> + <WriteLinesToFile File="$(OptDataIntermediateOutputPath)\optdataversion.txt" Lines="$(optimizationIBCCoreCLRVersion)" Overwrite="true"/> </Target> + <!-- --> + <!-- Task: DumpIbcDataPackageVersion --> + <!-- --> + <!-- Notes: --> + <!-- --> + <!-- DumpIbcDataPackageVersion is used by build.sh and build.cmd to pass --> + <!-- the version information to cmake. The task will write a file to the --> + <!-- intermediates directory to be read back by build.cmd/sh. The path for --> + <!-- the file is $(OptDataIntermediateOutputPath)\ibcoptdataversion.txt --> + <!-- --> <Target Name="DumpIbcDataPackageVersion"> + <!-- Keep the old message for backcompat. --> <Message Importance="high" Text="$(optimizationIBCCoreCLRVersion)" /> + <WriteLinesToFile File="$(OptDataIntermediateOutputPath)\ibcoptdataversion.txt" Lines="$(optimizationIBCCoreCLRVersion)" Overwrite="true"/> </Target> </Project> |