-
Notifications
You must be signed in to change notification settings - Fork 6
/
Directory.Build.props
52 lines (39 loc) · 2.26 KB
/
Directory.Build.props
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
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<BuildOS Condition="$([MSBuild]::IsOsPlatform(`Windows`)) == true">Windows</BuildOS>
<BuildOS Condition="$([MSBuild]::IsOsPlatform(`Linux`)) == true">Linux</BuildOS>
<BuildOS Condition="$([MSBuild]::IsOsPlatform(`OSX`)) == true">macOS</BuildOS>
</PropertyGroup>
<PropertyGroup>
<ImplicitUsings>enable</ImplicitUsings>
<LangVersion>10.0</LangVersion>
<EnableWindowsTargeting>true</EnableWindowsTargeting>
<RestoreAdditionalProjectSources>https://www.myget.org/F/eto/</RestoreAdditionalProjectSources>
<TopLevelDirectory>$(MSBuildThisFileDirectory)</TopLevelDirectory>
<ArtifactsDir>$(TopLevelDirectory)artifacts\</ArtifactsDir>
<!-- Without separate intermediate directories, project.assets.json would
get stomped on by each project as it was restored and built. For more info
see https://github.com/NuGet/Home/issues/4463 -->
<BaseIntermediateOutputPath>$(ArtifactsDir)obj\$(BuildOS)\$(MSBuildProjectName)\</BaseIntermediateOutputPath>
<!-- Placing output binaries in a higher level directory than the project
files avoids problems with generated AssemblyInfo, among other benefits. -->
<BaseOutputPath>$(ArtifactsDir)bin\$(MSBuildProjectName)\</BaseOutputPath>
<PackageOutputPath>$(ArtifactsDir)nuget\$(Configuration)\</PackageOutputPath>
<NoWarn>CA1034;CA1303</NoWarn>
</PropertyGroup>
<PropertyGroup>
<DevVersion>0.2.0</DevVersion>
<!-- set version from tag -->
<Version Condition="$(BuildBranch.StartsWith('refs/tags/'))">$(BuildBranch.Substring(10))</Version>
<!-- set version for CI build -->
<Version Condition="$(Version) == '' AND $(BuildVersion) != ''">$(DevVersion)-$(BuildVersion)</Version>
<!-- set version for development -->
<Version Condition="$(Version) == ''">$(DevVersion)-dev</Version>
<Authors>Eto.Veldrid Authors</Authors>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageTags>Eto;Veldrid;Vulkan;Metal;Direct3D</PackageTags>
<RepositoryUrl>https://github.com/picoe/Eto.Veldrid</RepositoryUrl>
<Copyright>Copyright (c) 2018-2020 Eto.Vulkan authors, see AUTHORS file.</Copyright>
</PropertyGroup>
</Project>