summaryrefslogtreecommitdiff
path: root/tests/scripts/optdata/optdata.csproj
blob: ac7360643f2285033b2e53317447791b062172d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<Project Sdk="Microsoft.NET.Sdk">

  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />

  <PropertyGroup>
    <TargetFramework>netstandard</TargetFramework>
    <DisableImplicitFrameworkReferences>true</DisableImplicitFrameworkReferences>
    <RuntimeIdentifiers>win7-x64;win7-x86;linux-x64</RuntimeIdentifiers>
  </PropertyGroup>

  <PropertyGroup>
    <PgoDataPackageVersion>99.99.99-test</PgoDataPackageVersion>
    <IbcDataPackageVersion>99.99.99-test</IbcDataPackageVersion>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="optimization.PGO.CoreCLR" Version="$(PgoDataPackageVersion)" Condition="'$(PgoDataPackageVersion)'!=''" />
    <PackageReference Include="optimization.IBC.CoreCLR" Version="$(IbcDataPackageVersion)" Condition="'$(IbcDataPackageVersion)'!=''" />
  </ItemGroup>

  <Target Name="DumpPgoDataPackageVersion">
    <Message Importance="high" Text="$(PgoDataPackageVersion)" />
  </Target>

  <Target Name="DumpIbcDataPackageVersion">
    <Message Importance="high" Text="$(IbcDataPackageVersion)" />
  </Target>

</Project>