SkiaSharp/source/SkiaSharp.Build.props

31 строка
1.6 KiB
Plaintext
Исходник Обычный вид История

2018-03-20 06:01:37 +03:00
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<!-- this is important for mono as it defaults to 'false' -->
<SignAssembly>true</SignAssembly>
<SkiaSharpBuildPropsImported>true</SkiaSharpBuildPropsImported>
<MDocDocumentationDirectory>$(MSBuildThisFileDirectory)..\docs\xml</MDocDocumentationDirectory>
<GenerateAssemblyInfo>False</GenerateAssemblyInfo>
2018-03-20 06:01:37 +03:00
</PropertyGroup>
<PropertyGroup>
<IsWindows Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Windows)))' == 'true'">true</IsWindows>
<IsMacOS Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::OSX)))' == 'true'">true</IsMacOS>
<IsLinux Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))' == 'true'">true</IsLinux>
</PropertyGroup>
<Target Name="PrintRID"
BeforeTargets="BeforeBuild">
<Message Text="Operating System: Windows"
Condition=" '$(IsWindows)' == 'true' " />
<Message Text="Operating System: macOS"
Condition=" '$(IsMacOS)' == 'true' " />
<Message Text="Operating System: Linux"
Condition=" '$(IsLinux)' == 'true' " />
<Error Text="There appears to be a problem selecting the operating system. IsWindows='$(IsWindows)', IsMacOS='$(IsMacOS)', IsLinux='$(IsLinux)'"
Condition=" '$(IsWindows)$(IsMacOS)$(IsLinux)' != 'true' " />
</Target>
</Project>