diff options
author | Jan Kotas <jkotas@microsoft.com> | 2017-06-24 21:10:44 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-24 21:10:44 +0300 |
commit | 555bcbcb5458a7aacb404f8242a6fe9267266ca7 (patch) | |
tree | dfb7caea05fb1f004869a4eba32267f2a76fe449 /src/ILCompiler.CppCodeGen | |
parent | 095e43a781181d9a59ceb726a9c72a65913dbdeb (diff) |
Update CoreRT build to use latest .NET CLI and build tools (#3916)
- Pick up latest .NET Core 2.0 CLI and buildtools
- Remove all project.json references and convert everything to msbuild projects
- Stick to vanilla .NET CLI project shape as much as possible. Minimize dependencies on buildtools special behaviors
Diffstat (limited to 'src/ILCompiler.CppCodeGen')
-rw-r--r-- | src/ILCompiler.CppCodeGen/src/ILCompiler.CppCodeGen.csproj | 36 | ||||
-rw-r--r-- | src/ILCompiler.CppCodeGen/src/project.json | 14 |
2 files changed, 6 insertions, 44 deletions
diff --git a/src/ILCompiler.CppCodeGen/src/ILCompiler.CppCodeGen.csproj b/src/ILCompiler.CppCodeGen/src/ILCompiler.CppCodeGen.csproj index 84865ff5e..1ef83f8bd 100644 --- a/src/ILCompiler.CppCodeGen/src/ILCompiler.CppCodeGen.csproj +++ b/src/ILCompiler.CppCodeGen/src/ILCompiler.CppCodeGen.csproj @@ -1,39 +1,18 @@ <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" Condition="'$(IsProjectNLibrary)' != 'true'" /> <PropertyGroup> - <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> - <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> - <ProjectGuid>{971AE7E7-08C6-48B4-902A-63851E6DAC66}</ProjectGuid> <OutputType>Library</OutputType> <RootNamespace>ILCompiler</RootNamespace> <AssemblyName>ILCompiler.CppCodeGen</AssemblyName> <AllowUnsafeBlocks>true</AllowUnsafeBlocks> - <ExcludeResourcesImport>true</ExcludeResourcesImport> - <NuGetTargetMoniker>.NETStandard,Version=v1.3</NuGetTargetMoniker> + <TargetFramework>netstandard1.3</TargetFramework> </PropertyGroup> - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> - </PropertyGroup> - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> - </PropertyGroup> - <ItemGroup> - <PackageDestination Include="Tools"> - <InProject>false</InProject> - <TargetFramework>.NetCoreApp,Version=2.0</TargetFramework> - </PackageDestination> - </ItemGroup> <ItemGroup Condition="'$(IsProjectNLibrary)' != 'true'"> - <ProjectReference Include="..\..\ILCompiler.DependencyAnalysisFramework\src\ILCompiler.DependencyAnalysisFramework.csproj"> - <Project>{dac23e9f-f826-4577-ae7a-0849ff83280c}</Project> - <Name>ILCompiler.DependencyAnalysisFramework</Name> - </ProjectReference> - <ProjectReference Include="..\..\ILCompiler.TypeSystem\src\ILCompiler.TypeSystem.csproj"> - <Project>{1a9df196-43a9-44bb-b2c6-d62aa56b0e49}</Project> - <Name>ILCompiler.TypeSystem</Name> - </ProjectReference> - <ProjectReference Include="..\..\ILCompiler.Compiler\src\ILCompiler.Compiler.csproj"> - <Project>{13BB3788-C3EB-4046-8105-A95F8AE49404}</Project> - <Name>ILCompiler.Compiler</Name> - </ProjectReference> + <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" /> </ItemGroup> <ItemGroup> <Compile Include="..\..\Common\src\TypeSystem\IL\ILImporter.cs"> @@ -60,8 +39,5 @@ <Compile Include="CppCodeGen\NodeDataSection.cs" /> <Compile Include="CppCodeGen\ILToCppImporter.cs" /> </ItemGroup> - <ItemGroup> - <None Include="project.json" /> - </ItemGroup> <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" Condition="'$(IsProjectNLibrary)' != 'true'" /> </Project> diff --git a/src/ILCompiler.CppCodeGen/src/project.json b/src/ILCompiler.CppCodeGen/src/project.json deleted file mode 100644 index 43580f1ce..000000000 --- a/src/ILCompiler.CppCodeGen/src/project.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "dependencies": { - "NETStandard.Library": "1.6.1", - "System.IO.MemoryMappedFiles": "4.3.0", - "System.Reflection.Metadata": "1.4.2", - "System.Collections.Immutable": "1.3.1", - "System.Runtime.CompilerServices.Unsafe": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0" - }, - "frameworks": { - "netstandard1.3": {} - } -} |