34 lines
1.4 KiB
XML
34 lines
1.4 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net8.0</TargetFramework>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
<LangVersion>Preview</LangVersion>
|
|
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
|
|
<Platforms>x64;ARM64</Platforms>
|
|
<Configurations>Debug;Release;PerformanceDebug</Configurations>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\StgSharp.Common\StgSharp.Common.csproj" />
|
|
</ItemGroup>
|
|
|
|
<PropertyGroup>
|
|
<IsWindows Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Windows)))' == 'true'">true</IsWindows>
|
|
<IsOSX Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::OSX)))' == 'true'">true</IsOSX>
|
|
<IsLinux Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))' == 'true'">true</IsLinux>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(IsWindows)'=='true'">
|
|
<DefineConstants>WINDOWS</DefineConstants>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(IsOSX)'=='true'">
|
|
<DefineConstants>OSX</DefineConstants>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(IsLinux)'=='true'">
|
|
<DefineConstants>LINUX</DefineConstants>
|
|
</PropertyGroup>
|
|
|
|
</Project>
|