-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
Copy pathNitrox.Shared.props
27 lines (21 loc) · 1.35 KB
/
Nitrox.Shared.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
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- General build properties -->
<PropertyGroup>
<!-- Current machine operating system -->
<_OSArchitecture>$([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture)</_OSArchitecture>
<_IsWindows>$([System.OperatingSystem]::IsWindows())</_IsWindows>
<_IsLinux>$([System.OperatingSystem]::IsLinux())</_IsLinux>
<_IsMacOS>$([System.OperatingSystem]::IsMacOS())</_IsMacOS>
<!-- Current project build configuration -->
<_IsRelease>$([System.String]::Equals($(Configuration), 'Release'))</_IsRelease>
<_IsDebug>$([System.String]::Equals($(Configuration), 'Debug'))</_IsDebug>
<!-- Current RID build configuration -->
<_IsWindowsTarget>false</_IsWindowsTarget>
<_IsWindowsTarget Condition="'$(RuntimeIdentifier)' == 'win-x64'">true</_IsWindowsTarget>
<_IsLinuxTarget>false</_IsLinuxTarget>
<_IsLinuxTarget Condition="'$(RuntimeIdentifier)' == 'linux-x64' Or '$(RuntimeIdentifier)' == 'linux-arm64'">true</_IsLinuxTarget>
<_IsMacOSTarget>false</_IsMacOSTarget>
<_IsMacOSTarget Condition="'$(RuntimeIdentifier)' == 'osx-x64' Or '$(RuntimeIdentifier)' == 'osx-arm64'">true</_IsMacOSTarget>
</PropertyGroup>
</Project>