forked from dotnet/runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Also add packaging project for Microsoft.NETCore.Runtime.Mono.
- Loading branch information
1 parent
cd8b98d
commit 3d2aafd
Showing
55 changed files
with
1,293 additions
and
6,071 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
@echo off | ||
"%~dp0build.cmd" -subsetCategory mono %* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/usr/bin/env bash | ||
|
||
source="${BASH_SOURCE[0]}" | ||
|
||
# resolve $SOURCE until the file is no longer a symlink | ||
while [[ -h $source ]]; do | ||
scriptroot="$( cd -P "$( dirname "$source" )" && pwd )" | ||
source="$(readlink "$source")" | ||
|
||
# if $source was a relative symlink, we need to resolve it relative to the path where the | ||
# symlink file was located | ||
[[ $source != /* ]] && source="$scriptroot/$source" | ||
done | ||
|
||
scriptroot="$( cd -P "$( dirname "$source" )" && pwd )" | ||
"$scriptroot/build.sh" --subsetCategory mono $@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<Project> | ||
|
||
<PropertyGroup> | ||
<SkipImportArcadeSdkFromRoot>true</SkipImportArcadeSdkFromRoot> | ||
</PropertyGroup> | ||
<Import Project="..\..\Directory.Build.props" /> | ||
|
||
<!-- Ensure our properties are set before Arcade defines defaults --> | ||
<Import Project="dir.common.props" /> | ||
<Import Project="Sdk.props" Sdk="Microsoft.DotNet.Arcade.Sdk" /> | ||
|
||
<PropertyGroup Condition="'$(CopyrightNetFoundation)' != ''"> | ||
<Copyright>$(CopyrightNetFoundation)</Copyright> | ||
<PackageLicenseExpression>MIT</PackageLicenseExpression> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup> | ||
<SignAssembly Condition="'$(UsingMicrosoftNETSdk)'!='true'">false</SignAssembly> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup> | ||
<CL_MPCount>$(NumberOfCores)</CL_MPCount> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<!-- Enables Strict mode for Roslyn compiler --> | ||
<Features>strict;nullablePublicOnly</Features> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project> | ||
<Import Project="..\..\Directory.Build.targets" /> | ||
|
||
<Import Project="Sdk.targets" Sdk="Microsoft.DotNet.Arcade.Sdk" /> | ||
|
||
<PropertyGroup> | ||
<!-- SDK sets product to assembly but we want it to be our product name --> | ||
<Product>Microsoft%AE .NET Core</Product> | ||
|
||
<!-- Use the .NET Core product branding version for informational version description --> | ||
<InformationalVersion>$(ProductVersion)</InformationalVersion> | ||
<InformationalVersion Condition="'$(VersionSuffix)' != ''">$(InformationalVersion)-$(VersionSuffix)</InformationalVersion> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
<Project> | ||
|
||
<!-- Set default Configuration and Platform --> | ||
<PropertyGroup> | ||
<BuildArch>$(__BuildArch)</BuildArch> | ||
<BuildArch Condition="'$(__BuildArch)'==''">x64</BuildArch> | ||
<BuildArch Condition="'$(__BuildArch)' == 'amd64'">x64</BuildArch> | ||
|
||
<BuildType>$(__BuildType)</BuildType> | ||
<BuildType Condition="'$(__BuildType)'==''">Debug</BuildType> | ||
<BuildType Condition="'$(__BuildType)' == 'debug'">Debug</BuildType> | ||
<BuildType Condition="'$(__BuildType)' == 'release'">Release</BuildType> | ||
<BuildType Condition="'$(__BuildType)' == 'checked'">Checked</BuildType> | ||
|
||
<BuildOS>$(__BuildOS)</BuildOS> | ||
<BuildOS Condition="'$(__BuildOS)' == '' And '$([MSBuild]::IsOSPlatform(Windows))' == 'true'">Windows_NT</BuildOS> | ||
<BuildOS Condition="'$(__BuildOS)' == '' And '$([MSBuild]::IsOSPlatform(Linux))' == 'true'">Linux</BuildOS> | ||
<BuildOS Condition="'$(__BuildOS)' == '' And '$([MSBuild]::IsOSPlatform(OSX))' == 'true'">OSX</BuildOS> | ||
|
||
<!-- TODO: converge on one property for BuildOS and __BuildOS (and similar), and remove these extra lines. --> | ||
<__BuildOS>$(BuildOS)</__BuildOS> | ||
<__BuildArch>$(BuildArch)</__BuildArch> | ||
|
||
<Configuration Condition="'$(Configuration)' == ''">$(BuildType)</Configuration> | ||
<Platform Condition="'$(Platform)' == ''">$(BuildArch)</Platform> | ||
|
||
<PlatformConfigPathPart>$(BuildOS).$(BuildArch).$(BuildType)</PlatformConfigPathPart> | ||
|
||
</PropertyGroup> | ||
|
||
<!-- Common properties --> | ||
<PropertyGroup> | ||
|
||
<__ProjectDir Condition="'$(__ProjectDir)'==''">$(MSBuildThisFileDirectory)</__ProjectDir> | ||
<ProjectDir>$(__ProjectDir)\</ProjectDir> | ||
<RootRepoDir>$(ProjectDir)\..\..\</RootRepoDir> | ||
<ProjectDir Condition="'$(__ProjectDir)'==''">$(MSBuildThisFileDirectory)</ProjectDir> | ||
|
||
<BaseIntermediateOutputPath>$(RootRepoDir)artifacts\obj\mono\$(MSBuildProjectName)\</BaseIntermediateOutputPath> | ||
|
||
<SourceDir>$(__SourceDir)\</SourceDir> | ||
<SourceDir Condition="'$(__SourceDir)'==''">$(ProjectDir)src\</SourceDir> | ||
|
||
<RootBinDir>$(__RootBinDir)\</RootBinDir> | ||
<RootBinDir Condition="'$(__RootBinDir)'==''">$(RootRepoDir)artifacts\</RootBinDir> | ||
|
||
<BinDir>$(__BinDir)\</BinDir> | ||
<BinDir Condition="'$(__BinDir)'==''">$(RootBinDir)bin\mono\$(PlatformConfigPathPart)\</BinDir> | ||
|
||
</PropertyGroup> | ||
|
||
<PropertyGroup> | ||
<!-- Central place to set the versions of all nuget packages produced in the repo --> | ||
<PackageVersion Condition="'$(PackageVersion)' == ''">5.0.0</PackageVersion> | ||
|
||
<!-- Set the boolean below to true to generate packages with stabilized versions --> | ||
<StabilizePackageVersion Condition="'$(StabilizePackageVersion)' == ''">false</StabilizePackageVersion> | ||
<StableVersion Condition="'$(StabilizePackageVersion)' == 'true' and '$(StableVersion)' == ''">$(PackageVersion)</StableVersion> | ||
|
||
<PreReleaseLabel>preview8</PreReleaseLabel> | ||
</PropertyGroup> | ||
|
||
<!-- Set up common target properties that we use to conditionally include sources --> | ||
<PropertyGroup> | ||
<TargetsFreeBSD Condition="'$(BuildOS)' == 'FreeBSD'">true</TargetsFreeBSD> | ||
<TargetsLinux Condition="'$(BuildOS)' == 'Linux'">true</TargetsLinux> | ||
<TargetsNetBSD Condition="'$(BuildOS)' == 'NetBSD'">true</TargetsNetBSD> | ||
<TargetsOSX Condition="'$(BuildOS)' == 'OSX'">true</TargetsOSX> | ||
<TargetsWindows Condition="'$(BuildOS)' == 'Windows_NT'">true</TargetsWindows> | ||
|
||
<TargetsUnix Condition="'$(TargetsFreeBSD)' == 'true' or '$(TargetsLinux)' == 'true' or '$(TargetsNetBSD)' == 'true' or '$(TargetsOSX)' == 'true'">true</TargetsUnix> | ||
|
||
</PropertyGroup> | ||
|
||
<PropertyGroup> | ||
<LangVersion>8.0</LangVersion> | ||
<UseSharedCompilation>true</UseSharedCompilation> | ||
</PropertyGroup> | ||
|
||
<!-- Set the kind of PDB to Portable --> | ||
<PropertyGroup> | ||
<DebugType Condition="'$(DebugType)' == ''">Portable</DebugType> | ||
</PropertyGroup> | ||
|
||
<!-- Common properties --> | ||
<PropertyGroup> | ||
|
||
<!-- Default to portable build if not explicitly set --> | ||
<PortableBuild Condition="'$(PortableBuild)' == ''">true</PortableBuild> | ||
|
||
<!-- If true, indicates that this is not an officially supported release --> | ||
<!-- It is important to flip this to false in official release branches --> | ||
<!-- Keep it in sync with PRERELEASE in clrdefinitions.cmake --> | ||
<IsPrerelease>true</IsPrerelease> | ||
</PropertyGroup> | ||
|
||
<!-- Output paths --> | ||
<PropertyGroup> | ||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath> | ||
</PropertyGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# temporary Makefile until we can fully move netcore mono to new repo | ||
all: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.