From aa968a650b029af03bfac133f4497580629febb8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michal=20Strehovsk=C3=BD?= Date: Wed, 4 Sep 2019 18:03:14 +0200 Subject: [PATCH] Add project files Commit migrated from https://github.com/dotnet/coreclr/commit/5dc16c89311f4508ff05ffff15b4437bee3950a5 --- src/coreclr/CMakeLists.txt | 2 + src/coreclr/build.cmd | 7 + src/coreclr/build.sh | 7 + src/coreclr/src/build.proj | 1 + .../ILCompiler.DependencyAnalysisFramework.csproj | 37 ++ .../ILCompiler.ReadyToRun.csproj | 238 +++++++++ .../ILCompiler.TypeSystem.ReadyToRun.csproj | 544 +++++++++++++++++++++ src/coreclr/src/tools/crossgen2/crossgen2.sln | 61 +++ .../src/tools/crossgen2/crossgen2/crossgen2.csproj | 31 ++ .../tools/crossgen2/jitinterface/CMakeLists.txt | 15 + 10 files changed, 943 insertions(+) create mode 100644 src/coreclr/src/tools/crossgen2/ILCompiler.DependencyAnalysisFramework/ILCompiler.DependencyAnalysisFramework.csproj create mode 100644 src/coreclr/src/tools/crossgen2/ILCompiler.ReadyToRun/ILCompiler.ReadyToRun.csproj create mode 100644 src/coreclr/src/tools/crossgen2/ILCompiler.TypeSystem.ReadyToRun/ILCompiler.TypeSystem.ReadyToRun.csproj create mode 100644 src/coreclr/src/tools/crossgen2/crossgen2.sln create mode 100644 src/coreclr/src/tools/crossgen2/crossgen2/crossgen2.csproj create mode 100644 src/coreclr/src/tools/crossgen2/jitinterface/CMakeLists.txt diff --git a/src/coreclr/CMakeLists.txt b/src/coreclr/CMakeLists.txt index 74cff66..0a874de 100644 --- a/src/coreclr/CMakeLists.txt +++ b/src/coreclr/CMakeLists.txt @@ -171,6 +171,8 @@ if(WIN32) add_subdirectory(src/gc/sample) endif() +add_subdirectory(src/tools/crossgen2/jitinterface) + # Above projects do not build with these compile options # All of the compiler options are specified in file compileoptions.cmake # Do not add any new options here. They should be added in compileoptions.cmake diff --git a/src/coreclr/build.cmd b/src/coreclr/build.cmd index 9575109..29af75d 100644 --- a/src/coreclr/build.cmd +++ b/src/coreclr/build.cmd @@ -653,6 +653,13 @@ if %__BuildCoreLib% EQU 1 ( echo !__BuildErr! exit /b !errorlevel! ) + + if "%__BuildManagedTools%" == "1" ( + echo %__MsgPrefix%Publishing crossgen2... + call %__ProjectDir%\dotnet.cmd publish --self-contained -r win-%__BuildArch% -c %__BuildType% -o "%__BinDir%\crossgen2" "%__ProjectDir%\src\tools\crossgen2\crossgen2\crossgen2.csproj" + copy /Y "%__BinDir%\clrjit.dll" "%__BinDir%\crossgen2\clrjitilc.dll" + copy /Y "%__BinDir%\jitinterface.dll" "%__BinDir%\crossgen2\jitinterface.dll" + ) ) if %__IbcOptimize% EQU 1 ( echo %__MsgPrefix%Commencing IBCMerge of System.Private.CoreLib for %__BuildOS%.%__BuildArch%.%__BuildType% diff --git a/src/coreclr/build.sh b/src/coreclr/build.sh index 6358e09..376ab84 100755 --- a/src/coreclr/build.sh +++ b/src/coreclr/build.sh @@ -443,6 +443,13 @@ build_CoreLib() exit $exit_code fi + if [[ "$__BuildManagedTools" -eq "1" ]]; then + echo "Publishing crossgen2 for $__DistroRid" + "$__ProjectRoot/dotnet.sh" publish --self-contained -r $__DistroRid -c $__BuildType -o "$__BinDir/crossgen2" "$__ProjectRoot/src/tools/crossgen2/crossgen2/crossgen2.csproj" + cp "$__BinDir/libclrjit.so" "$__BinDir/crossgen2/libclrjitilc.so" + cp "$__BinDir/libjitinterface.so" "$__BinDir/crossgen2/libjitinterface.so" + fi + local __CoreLibILDir=$__BinDir/IL if [ $__SkipCrossgen == 1 ]; then diff --git a/src/coreclr/src/build.proj b/src/coreclr/src/build.proj index f3f4dc6..22df29a 100644 --- a/src/coreclr/src/build.proj +++ b/src/coreclr/src/build.proj @@ -9,6 +9,7 @@ + diff --git a/src/coreclr/src/tools/crossgen2/ILCompiler.DependencyAnalysisFramework/ILCompiler.DependencyAnalysisFramework.csproj b/src/coreclr/src/tools/crossgen2/ILCompiler.DependencyAnalysisFramework/ILCompiler.DependencyAnalysisFramework.csproj new file mode 100644 index 0000000..2005472 --- /dev/null +++ b/src/coreclr/src/tools/crossgen2/ILCompiler.DependencyAnalysisFramework/ILCompiler.DependencyAnalysisFramework.csproj @@ -0,0 +1,37 @@ + + + + Library + ILCompiler.DependencyAnalysisFramework + ILCompiler.DependencyAnalysisFramework + netstandard1.3 + false + x64;x86 + $(BinDir)\crossgen2 + false + + + + 4.3.0 + + + 1.3.1 + + + + + + + + + + + + + + + + + + + diff --git a/src/coreclr/src/tools/crossgen2/ILCompiler.ReadyToRun/ILCompiler.ReadyToRun.csproj b/src/coreclr/src/tools/crossgen2/ILCompiler.ReadyToRun/ILCompiler.ReadyToRun.csproj new file mode 100644 index 0000000..a04a1d6 --- /dev/null +++ b/src/coreclr/src/tools/crossgen2/ILCompiler.ReadyToRun/ILCompiler.ReadyToRun.csproj @@ -0,0 +1,238 @@ + + + + + Library + ILCompiler.ReadyToRun + netstandard1.3 + true + READYTORUN;$(DefineConstants) + false + x64;x86 + $(BinDir)\crossgen2 + false + + + + + + + + + + 1.6.0 + + + 4.3.0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Common\ModuleHeaders.cs + + + Common\Utf8String.cs + + + Common\Utf8StringBuilder.cs + + + Common\ArrayBuilder.cs + + + IL\HelperExtensions.cs + + + JitInterface\TypeString.cs + + + JitInterface\CorInfoBase.cs + + + JitInterface\CorInfoImpl.cs + + + JitInterface\CorInfoHelpFunc.cs + + + JitInterface\CorInfoTypes.cs + + + JitInterface\JitConfigProvider.cs + + + JitInterface\CorInfoImpl.Intrinsics.cs + + + JitInterface\MemoryHelper.cs + + + JitInterface\UnboxingMethodDesc.cs + + + + diff --git a/src/coreclr/src/tools/crossgen2/ILCompiler.TypeSystem.ReadyToRun/ILCompiler.TypeSystem.ReadyToRun.csproj b/src/coreclr/src/tools/crossgen2/ILCompiler.TypeSystem.ReadyToRun/ILCompiler.TypeSystem.ReadyToRun.csproj new file mode 100644 index 0000000..2d3d69c --- /dev/null +++ b/src/coreclr/src/tools/crossgen2/ILCompiler.TypeSystem.ReadyToRun/ILCompiler.TypeSystem.ReadyToRun.csproj @@ -0,0 +1,544 @@ + + + + + Library + Internal.TypeSystem + ILCompiler.TypeSystem.ReadyToRun + true + netstandard1.3 + false + x64;x86 + $(BinDir)\crossgen2 + false + + + + 4.3.0 + + + 1.6.0 + + + 1.0.8 + + + + + TypeSystem\Canon\ArrayType.Canon.cs + + + TypeSystem\Canon\ByRefType.Canon.cs + + + TypeSystem\Canon\CanonTypes.cs + + + TypeSystem\Canon\CanonTypes.Interop.cs + + + TypeSystem\Canon\CanonTypes.Sorting.cs + + + TypeSystem\Canon\FunctionPointerType.Canon.cs + + + TypeSystem\Canon\GenericParameterDesc.Canon.cs + + + TypeSystem\Canon\StandardCanonicalizationAlgorithm.cs + + + TypeSystem\Canon\DefType.Canon.cs + + + TypeSystem\Canon\InstantiatedMethod.Canon.cs + + + TypeSystem\Canon\InstantiatedType.Canon.cs + + + TypeSystem\Canon\MetadataType.Canon.cs + + + TypeSystem\Canon\MethodDelegator.Canon.cs + + + TypeSystem\Canon\MethodDesc.Canon.cs + + + TypeSystem\Canon\MethodForInstantiatedType.Canon.cs + + + TypeSystem\Canon\ParameterizedType.Canon.cs + + + TypeSystem\Canon\PointerType.Canon.cs + + + TypeSystem\Canon\SignatureVariable.Canon.cs + + + TypeSystem\Canon\TypeDesc.Canon.cs + + + TypeSystem\Canon\TypeSystemContext.Canon.cs + + + TypeSystem\CodeGen\FieldDesc.CodeGen.cs + + + TypeSystem\CodeGen\MethodDelegator.CodeGen.cs + + + TypeSystem\CodeGen\MethodDesc.CodeGen.cs + + + TypeSystem\CodeGen\TargetDetails.CodeGen.cs + + + TypeSystem\CodeGen\TypeDesc.CodeGen.cs + + + Utilities\AlignmentHelper.cs + + + TypeSystem\Common\CastingHelper.cs + + + TypeSystem\Common\FunctionPointerType.cs + + + TypeSystem\Common\IAssemblyDesc.cs + + + TypeSystem\Common\Instantiation.cs + + + TypeSystem\Common\ModuleDesc.cs + + + TypeSystem\Common\TypeSystemEntity.cs + + + TypeSystem\Common\TypeSystemException.cs + + + TypeSystem\Common\ThrowHelper.cs + + + TypeSystem\Common\ThrowHelper.Common.cs + + + Utilities\CustomAttributeTypeNameFormatter.cs + + + Utilities\CustomAttributeTypeNameParser.cs + + + Utilities\DebugNameFormatter.cs + + + Utilities\LockFreeReaderHashtable.cs + + + TypeSystem\Common\ArrayType.cs + + + TypeSystem\Common\BaseTypeRuntimeInterfacesAlgorithm.cs + + + TypeSystem\Common\ByRefType.cs + + + TypeSystem\Common\GenericParameterDesc.cs + + + TypeSystem\Common\ExceptionStringID.cs + + + TypeSystem\Common\FieldForInstantiatedType.cs + + + TypeSystem\Common\FieldDesc.cs + + + TypeSystem\Common\FieldDesc.ToString.cs + + + TypeSystem\Common\FieldDesc.FieldLayout.cs + + + TypeSystem\Common\FieldLayoutAlgorithm.cs + + + TypeSystem\Common\InstantiatedMethod.cs + + + TypeSystem\Common\InstantiatedType.cs + + + TypeSystem\Common\InstantiatedType.Interfaces.cs + + + TypeSystem\Common\InstantiatedType.MethodImpls.cs + + + TypeSystem\Common\LayoutInt.cs + + + TypeSystem\Common\MetadataType.cs + + + TypeSystem\Common\MetadataType.Interfaces.cs + + + TypeSystem\Common\MetadataType.MethodImpls.cs + + + TypeSystem\Common\MetadataFieldLayoutAlgorithm.cs + + + TypeSystem\Common\MetadataRuntimeInterfacesAlgorithm.cs + + + TypeSystem\Common\MetadataTypeSystemContext.cs + + + TypeSystem\Common\MethodForInstantiatedType.cs + + + TypeSystem\Common\ParameterizedType.cs + + + TypeSystem\Common\PointerType.cs + + + TypeSystem\Common\PropertySignature.cs + + + TypeSystem\Common\SignatureVariable.cs + + + TypeSystem\Common\TargetDetails.cs + + + TypeSystem\Common\TargetDetails.ToString.cs + + + TypeSystem\Common\ThreadSafeFlags.cs + + + TypeSystem\Common\TypeFlags.cs + + + TypeSystem\Common\TypeHashingAlgorithms.cs + + + TypeSystem\Common\TypeSystemContext.cs + + + TypeSystem\Common\TypeSystemHelpers.cs + + + Utilities\ExceptionTypeNameFormatter.cs + + + Utilities\ExceptionTypeNameFormatter.Metadata.cs + + + Utilities\TypeNameFormatter.cs + + + TypeSystem\Common\WellKnownType.cs + + + TypeSystem\Common\VirtualMethodAlgorithm.cs + + + TypeSystem\Common\MethodDelegator.cs + + + TypeSystem\Common\MethodDesc.cs + + + TypeSystem\Common\MethodDesc.ToString.cs + + + TypeSystem\Common\StandardVirtualMethodAlgorithm.cs + + + TypeSystem\Common\TypeDesc.cs + + + TypeSystem\Common\TypeDesc.ToString.cs + + + TypeSystem\Common\TypeDesc.Interfaces.cs + + + TypeSystem\Common\DefType.cs + + + TypeSystem\Common\DefType.FieldLayout.cs + + + TypeSystem\Common\RuntimeInterfacesAlgorithm.cs + + + Ecma\CustomAttributeTypeProvider.cs + + + Ecma\EcmaAssembly.cs + + + Ecma\EcmaAssembly.Symbols.cs + + + Ecma\EcmaField.Sorting.cs + + + Ecma\EcmaField.CodeGen.cs + + + Ecma\EcmaField.Serialization.cs + + + Ecma\EcmaGenericParameter.Sorting.cs + + + Ecma\EcmaMethod.Sorting.cs + + + Ecma\EcmaModule.Sorting.cs + + + Ecma\EcmaType.Serialization.cs + + + Ecma\EcmaType.Sorting.cs + + + Ecma\PrimitiveTypeProvider.cs + + + Ecma\EcmaModule.Symbols.cs + + + Ecma\SymbolReader\PdbSymbolReader.cs + + + Ecma\SymbolReader\PortablePdbSymbolReader.cs + + + Ecma\SymbolReader\UnmanagedPdbSymbolReader.cs + + + Ecma\EcmaField.cs + + + Ecma\EcmaGenericParameter.cs + + + Ecma\EcmaMethod.cs + + + Ecma\EcmaModule.cs + + + Ecma\EcmaSignatureParser.cs + + + Ecma\EcmaType.cs + + + Ecma\EcmaType.MethodImpls.cs + + + Ecma\EcmaType.Interfaces.cs + + + Ecma\MetadataExtensions.cs + + + Ecma\IMetadataStringDecoderProvider.cs + + + Ecma\CachingMetadataStringDecoder.cs + + + IL\EcmaMethodIL.cs + + + IL\EcmaMethodIL.Symbols.cs + + + IL\MethodIL.cs + + + IL\MethodIL.Symbols.cs + + + IL\MethodILDebugView.cs + + + IL\ILDisassembler.cs + + + IL\InstantiatedMethodIL.cs + + + IL\ILStackHelper.cs + + + IL\ILOpcode.cs + + + IL\ILOpcodeHelper.cs + + + Interop\IL\MarshalUtils.cs + + + IL\Stubs\ILEmitter.cs + + + TypeSystem\CodeGen\FieldDesc.Serialization.cs + + + TypeSystem\CodeGen\TypeDesc.Serialization.cs + + + TypeSystem\Sorting\FieldDesc.Sorting.cs + + + TypeSystem\Sorting\FieldForInstantiatedType.Sorting.cs + + + TypeSystem\Sorting\InstantiatedMethod.Sorting.cs + + + TypeSystem\Sorting\MethodDesc.Sorting.cs + + + TypeSystem\Sorting\MethodForInstantiatedType.Sorting.cs + + + TypeSystem\Interop\InstantiatedType.Interop.cs + + + TypeSystem\Interop\MetadataType.Interop.cs + + + TypeSystem\Interop\MethodDelegator.Interop.cs + + + TypeSystem\Interop\MethodDesc.Interop.cs + + + TypeSystem\Interop\MarshalAsDescriptor.cs + + + TypeSystem\Mangling\IPrefixMangledMethod.cs + + + TypeSystem\Mangling\IPrefixMangledType.cs + + + TypeSystem\Mangling\IPrefixMangledSignature.cs + + + Utilities\ArrayBuilder.cs + + + TypeSystem\Common\LocalVariableDefinition.cs + + + TypeSystem\RuntimeDetermined\ArrayType.RuntimeDetermined.cs + + + TypeSystem\RuntimeDetermined\ByRefType.RuntimeDetermined.cs + + + TypeSystem\RuntimeDetermined\FieldDesc.RuntimeDetermined.cs + + + TypeSystem\RuntimeDetermined\FunctionPointerType.RuntimeDetermined.cs + + + TypeSystem\RuntimeDetermined\MethodDesc.RuntimeDetermined.cs + + + TypeSystem\RuntimeDetermined\PointerType.RuntimeDetermined.cs + + + TypeSystem\RuntimeDetermined\MethodForRuntimeDeterminedType.cs + + + TypeSystem\RuntimeDetermined\MethodForRuntimeDeterminedType.Sorting.cs + + + TypeSystem\RuntimeDetermined\RuntimeDeterminedCanonicalizationAlgorithm.cs + + + TypeSystem\RuntimeDetermined\RuntimeDeterminedFieldLayoutAlgorithm.cs + + + TypeSystem\RuntimeDetermined\DefType.RuntimeDetermined.cs + + + TypeSystem\RuntimeDetermined\GenericParameterDesc.RuntimeDetermined.cs + + + TypeSystem\RuntimeDetermined\ParameterizedType.RuntimeDetermined.cs + + + TypeSystem\RuntimeDetermined\RuntimeDeterminedType.cs + + + TypeSystem\RuntimeDetermined\RuntimeDeterminedType.Sorting.cs + + + TypeSystem\RuntimeDetermined\RuntimeDeterminedTypeUtilities.cs + + + TypeSystem\RuntimeDetermined\SignatureVariable.RuntimeDetermined.cs + + + TypeSystem\RuntimeDetermined\TypeDesc.RuntimeDetermined.cs + + + TypeSystem\RuntimeDetermined\TypeSystemContext.RuntimeDetermined.cs + + + Common\System\FormattingHelpers.cs + + + TypeSystem\Sorting\ArrayType.Sorting.cs + + + TypeSystem\Sorting\ByRefType.Sorting.cs + + + TypeSystem\Sorting\FunctionPointerType.Sorting.cs + + + TypeSystem\Sorting\InstantiatedType.Sorting.cs + + + TypeSystem\Sorting\MethodSignature.Sorting.cs + + + TypeSystem\Sorting\PointerType.Sorting.cs + + + TypeSystem\Sorting\SignatureVariable.Sorting.cs + + + TypeSystem\Sorting\TypeDesc.Sorting.cs + + + TypeSystem\Sorting\TypeSystemComparer.cs + + + diff --git a/src/coreclr/src/tools/crossgen2/crossgen2.sln b/src/coreclr/src/tools/crossgen2/crossgen2.sln new file mode 100644 index 0000000..c8f660b --- /dev/null +++ b/src/coreclr/src/tools/crossgen2/crossgen2.sln @@ -0,0 +1,61 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.29123.88 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "crossgen2", "crossgen2\crossgen2.csproj", "{9B928D3E-06AB-45E5-BF79-F374F0AE3B98}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ILCompiler.DependencyAnalysisFramework", "ILCompiler.DependencyAnalysisFramework\ILCompiler.DependencyAnalysisFramework.csproj", "{FB2D45F2-FA4C-42B2-8E53-3E1F30CF8046}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ILCompiler.ReadyToRun", "ILCompiler.ReadyToRun\ILCompiler.ReadyToRun.csproj", "{83A832DE-BF4A-44C4-B361-90F5F88B979B}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ILCompiler.TypeSystem.ReadyToRun", "ILCompiler.TypeSystem.ReadyToRun\ILCompiler.TypeSystem.ReadyToRun.csproj", "{751583CD-E880-49E1-B3E2-8B1990114CAC}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 + Release|x64 = Release|x64 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {9B928D3E-06AB-45E5-BF79-F374F0AE3B98}.Debug|x64.ActiveCfg = Debug|x64 + {9B928D3E-06AB-45E5-BF79-F374F0AE3B98}.Debug|x64.Build.0 = Debug|x64 + {9B928D3E-06AB-45E5-BF79-F374F0AE3B98}.Debug|x86.ActiveCfg = Debug|x86 + {9B928D3E-06AB-45E5-BF79-F374F0AE3B98}.Debug|x86.Build.0 = Debug|x86 + {9B928D3E-06AB-45E5-BF79-F374F0AE3B98}.Release|x64.ActiveCfg = Release|x64 + {9B928D3E-06AB-45E5-BF79-F374F0AE3B98}.Release|x64.Build.0 = Release|x64 + {9B928D3E-06AB-45E5-BF79-F374F0AE3B98}.Release|x86.ActiveCfg = Release|x86 + {9B928D3E-06AB-45E5-BF79-F374F0AE3B98}.Release|x86.Build.0 = Release|x86 + {FB2D45F2-FA4C-42B2-8E53-3E1F30CF8046}.Debug|x64.ActiveCfg = Debug|x64 + {FB2D45F2-FA4C-42B2-8E53-3E1F30CF8046}.Debug|x64.Build.0 = Debug|x64 + {FB2D45F2-FA4C-42B2-8E53-3E1F30CF8046}.Debug|x86.ActiveCfg = Debug|x86 + {FB2D45F2-FA4C-42B2-8E53-3E1F30CF8046}.Debug|x86.Build.0 = Debug|x86 + {FB2D45F2-FA4C-42B2-8E53-3E1F30CF8046}.Release|x64.ActiveCfg = Release|x64 + {FB2D45F2-FA4C-42B2-8E53-3E1F30CF8046}.Release|x64.Build.0 = Release|x64 + {FB2D45F2-FA4C-42B2-8E53-3E1F30CF8046}.Release|x86.ActiveCfg = Release|x86 + {FB2D45F2-FA4C-42B2-8E53-3E1F30CF8046}.Release|x86.Build.0 = Release|x86 + {83A832DE-BF4A-44C4-B361-90F5F88B979B}.Debug|x64.ActiveCfg = Debug|x64 + {83A832DE-BF4A-44C4-B361-90F5F88B979B}.Debug|x64.Build.0 = Debug|x64 + {83A832DE-BF4A-44C4-B361-90F5F88B979B}.Debug|x86.ActiveCfg = Debug|x86 + {83A832DE-BF4A-44C4-B361-90F5F88B979B}.Debug|x86.Build.0 = Debug|x86 + {83A832DE-BF4A-44C4-B361-90F5F88B979B}.Release|x64.ActiveCfg = Release|x64 + {83A832DE-BF4A-44C4-B361-90F5F88B979B}.Release|x64.Build.0 = Release|x64 + {83A832DE-BF4A-44C4-B361-90F5F88B979B}.Release|x86.ActiveCfg = Release|x86 + {83A832DE-BF4A-44C4-B361-90F5F88B979B}.Release|x86.Build.0 = Release|x86 + {751583CD-E880-49E1-B3E2-8B1990114CAC}.Debug|x64.ActiveCfg = Debug|x64 + {751583CD-E880-49E1-B3E2-8B1990114CAC}.Debug|x64.Build.0 = Debug|x64 + {751583CD-E880-49E1-B3E2-8B1990114CAC}.Debug|x86.ActiveCfg = Debug|x86 + {751583CD-E880-49E1-B3E2-8B1990114CAC}.Debug|x86.Build.0 = Debug|x86 + {751583CD-E880-49E1-B3E2-8B1990114CAC}.Release|x64.ActiveCfg = Release|x64 + {751583CD-E880-49E1-B3E2-8B1990114CAC}.Release|x64.Build.0 = Release|x64 + {751583CD-E880-49E1-B3E2-8B1990114CAC}.Release|x86.ActiveCfg = Release|x86 + {751583CD-E880-49E1-B3E2-8B1990114CAC}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {A484CF9D-B203-427F-9D15-A5BBC6013421} + EndGlobalSection +EndGlobal diff --git a/src/coreclr/src/tools/crossgen2/crossgen2/crossgen2.csproj b/src/coreclr/src/tools/crossgen2/crossgen2/crossgen2.csproj new file mode 100644 index 0000000..2a1fe01 --- /dev/null +++ b/src/coreclr/src/tools/crossgen2/crossgen2/crossgen2.csproj @@ -0,0 +1,31 @@ + + + + + crossgen2 + true + Exe + netcoreapp2.0 + 8002,NU1701 + x64;x86 + $(BinDir)\crossgen2 + false + + + + + + + + + + + + + + + + 0.1.0-e160119-1 + + + diff --git a/src/coreclr/src/tools/crossgen2/jitinterface/CMakeLists.txt b/src/coreclr/src/tools/crossgen2/jitinterface/CMakeLists.txt new file mode 100644 index 0000000..371f08d --- /dev/null +++ b/src/coreclr/src/tools/crossgen2/jitinterface/CMakeLists.txt @@ -0,0 +1,15 @@ +project(jitinterface) + +set(NATIVE_SOURCES + jithost.cpp + jitinterface.cpp + jitwrapper.cpp + corinfoexception.cpp +) + +add_library_clr(jitinterface + SHARED + ${NATIVE_SOURCES} +) + +install_clr(jitinterface) -- 2.7.4