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>
|
2018-06-20 11:19:38 +03:00
|
|
|
<MDocDocumentationDirectory>$(MSBuildThisFileDirectory)..\docs\xml</MDocDocumentationDirectory>
|
2018-05-11 04:59:30 +03:00
|
|
|
<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>
|