forked from ubisoft/Sharpmake
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Build.props
38 lines (33 loc) · 1.72 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
<Project>
<PropertyGroup>
<!-- Assembly Info -->
<Company>Ubisoft</Company>
<Copyright>Copyright © $(Company)</Copyright>
<Description>Sharpmake is a C#-based solution for generating project definition files, such as Visual Studio projects and solutions, GNU makefiles, Xcode projects...</Description>
<Product>Sharpmake</Product>
<Authors>$(Company), Sharpmake contributors</Authors>
<!-- Custom Variables -->
<!-- https://github.com/dotnet/sourcelink/blob/main/docs/README.md#continuousintegrationbuild -->
<ContinuousIntegrationBuild Condition="'$(GITLAB_CI)' == 'true' OR '$(GITHUB_ACTIONS)' == 'true'">true</ContinuousIntegrationBuild>
<!-- Compile Options -->
<LangVersion>10.0</LangVersion>
<TargetFramework>net6.0</TargetFramework>
<Deterministic>true</Deterministic>
<Features>strict</Features>
<TreatWarningsAsErrors Condition="$(ContinuousIntegrationBuild) == 'true' OR '$(Configuration)' == 'Release'">true</TreatWarningsAsErrors>
<EnforceCodeStyleInBuild Condition="$(ContinuousIntegrationBuild) == 'true' OR '$(Configuration)' == 'Release'">true</EnforceCodeStyleInBuild>
<NoWarn>1570,1591</NoWarn> <!-- For xml documentation warnings -->
<DefineConstants>TRACE</DefineConstants>
<DebugType>pdbonly</DebugType>
<InvariantGlobalization>true</InvariantGlobalization>
<!-- NuGet -->
<RestoreSources>https://api.nuget.org/v3/index.json</RestoreSources>
<!-- Package info -->
<PackageLicenseFile>LICENSE.md</PackageLicenseFile>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>
<ItemGroup>
<!-- Version -->
<PackageReference Include="GitVersion.MsBuild" Version="5.12.0" PrivateAssets="All" />
</ItemGroup>
</Project>