Welcome to mirror list, hosted at ThFree Co, Russian Federation.

ILCompiler.csproj « src « ILCompiler « src - github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 75d6ba4e2c85dd1ea18086107249ec30b08fc3ab (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
  <PropertyGroup>
    <OutputPath>$(BaseOutputPath)$(OSPlatformConfig)/tools</OutputPath>
  </PropertyGroup>
  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <RootNamespace>ILCompiler</RootNamespace>
    <AssemblyName>ilc</AssemblyName>
    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
    <TargetFramework>netcoreapp2.0</TargetFramework>
    <CopyNugetImplementations>false</CopyNugetImplementations>
    <!-- Force .dll extension even if output type is exe. -->
    <TargetExt>.dll</TargetExt>
  </PropertyGroup>
  <ItemGroup>
    <ProjectReference Include="..\..\ILCompiler.DependencyAnalysisFramework\src\ILCompiler.DependencyAnalysisFramework.csproj" />
    <ProjectReference Include="..\..\ILCompiler.MetadataTransform\src\ILCompiler.MetadataTransform.csproj" />
    <ProjectReference Include="..\..\ILCompiler.MetadataWriter\src\ILCompiler.MetadataWriter.csproj" />
    <ProjectReference Include="..\..\ILCompiler.TypeSystem\src\ILCompiler.TypeSystem.csproj" />
    <ProjectReference Include="..\..\ILCompiler.Compiler\src\ILCompiler.Compiler.csproj" />
    <ProjectReference Include="..\..\ILCompiler.CppCodeGen\src\ILCompiler.CppCodeGen.csproj" />
    <ProjectReference Include="..\..\ILCompiler.WebAssembly\src\ILCompiler.WebAssembly.csproj" />
  </ItemGroup>
  <ItemGroup>
    <PackageReference Include="System.CommandLine">
      <Version>0.1.0-e160909-1</Version>
    </PackageReference>
  </ItemGroup>
  <ItemGroup>
    <Compile Include="Program.cs" />
    <Compile Include="RdXmlRootProvider.cs" />
    <Compile Include="EcmaOnlyDebugInformationProvider.cs" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="..\..\Common\src\CommandLine\CommandLineException.cs">
      <Link>CommandLine\CommandLineException.cs</Link>
    </Compile>
    <Compile Include="..\..\Common\src\CommandLine\CommandLineHelpers.cs">
      <Link>CommandLine\CommandLineHelpers.cs</Link>
    </Compile>
  </ItemGroup>
  <ItemGroup>
    <Content Include="ilc.runtimeconfig.json">
      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
    </Content>
  </ItemGroup>
  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
  <PropertyGroup>
    <RunCommand Condition="'$(OS)' == 'Windows_NT'">$(TargetDir)$(AssemblyName).exe</RunCommand>
    <RunCommand Condition="'$(OS)' != 'Windows_NT'">$(TargetDir)$(AssemblyName)</RunCommand>
    <RunArguments>$(StartArguments)</RunArguments>
  </PropertyGroup>
</Project>