-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
42 lines (38 loc) · 1.88 KB
/
Directory.Build.props
File metadata and controls
42 lines (38 loc) · 1.88 KB
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
<Project>
<!--
This is a special file that contains shared configuration
for all project files in subdirectories.
-->
<!-- Import our shared user configuration file -->
<Import
Project="$(SolutionRoot)Config.Build.user.props"
Condition="Exists('$(SolutionRoot)Config.Build.user.props')"
/>
<!-- Primary configuration for the project -->
<PropertyGroup>
<!-- Use latest C# version. -->
<LangVersion>latest</LangVersion>
<!-- See: https://learn.microsoft.com/en-us/dotnet/csharp/nullable-references -->
<Nullable>enable</Nullable>
<!-- Build, and other generated files go nicely into artifacts/ directory. -->
<UseArtifactsOutput>true</UseArtifactsOutput>
<!-- Enable debug symbols. This will show source code line numbers in stack traces. -->
<DebugSymbols>true</DebugSymbols>
<DebugType>embedded</DebugType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<!-- Substitute full path to this directory with ./, hiding it from debug symbols. -->
<PathMap>$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)'))=./</PathMap>
</PropertyGroup>
<!-- Custom props -->
<PropertyGroup>
<!-- Define a variable that points to this directory. -->
<SolutionRoot>$(MSBuildThisFileDirectory)</SolutionRoot>
<!-- Default values for game files. -->
<PathBeforeSteam Condition="'$([MSBuild]::IsOSUnixLike())' == 'true'">$(HOME)/.local/share/</PathBeforeSteam>
<PathBeforeSteam Condition="'$([MSBuild]::IsOSUnixLike())' != 'true'">$(MSBuildProgramFiles32)/</PathBeforeSteam>
<PeakGameRootDir Condition="$(PeakGameRootDir) == ''">$(PathBeforeSteam)Steam/steamapps/common/PEAK/</PeakGameRootDir>
<PeakPluginsDir Condition="$(PeakPluginsDir) == ''">$(PeakGameRootDir)/BepInEx/plugins/</PeakPluginsDir>
<ManagedDir>$(PeakGameRootDir)/PEAK_Data/Managed/</ManagedDir>
</PropertyGroup>
</Project>