Skip to content

Commit

Permalink
Add condition to TargetOS property
Browse files Browse the repository at this point in the history
  • Loading branch information
kotlarmilos committed Feb 17, 2023
1 parent 3283372 commit 407edf3
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ The .NET Foundation licenses this file to you under the MIT license.
<NativeOutputPath Condition="'$(NativeOutputPath)' == ''">$(OutputPath)native\</NativeOutputPath>
<NativeCompilationDuringPublish Condition="'$(NativeCompilationDuringPublish)' == ''">true</NativeCompilationDuringPublish>
<IlcBuildTasksPath Condition="'$(IlcBuildTasksPath)' == ''">$(MSBuildThisFileDirectory)..\tools\netstandard\ILCompiler.Build.Tasks.dll</IlcBuildTasksPath>
<TargetOS Condition="$(RuntimeIdentifier.StartsWith('win'))">windows</TargetOS>
<TargetOS Condition="$(RuntimeIdentifier.StartsWith('osx'))">osx</TargetOS>
<TargetOS Condition="$(RuntimeIdentifier.StartsWith('maccatalyst'))">maccatalyst</TargetOS>
<TargetOS Condition="$(RuntimeIdentifier.StartsWith('iossimulator'))">iossimulator</TargetOS>
<TargetOS Condition="$(RuntimeIdentifier.StartsWith('ios'))">ios</TargetOS>
<TargetOS Condition="$(RuntimeIdentifier.StartsWith('tvossimulator'))">tvossimulator</TargetOS>
<TargetOS Condition="$(RuntimeIdentifier.StartsWith('tvos'))">tvos</TargetOS>
<TargetOS Condition="$(RuntimeIdentifier.StartsWith('freebsd'))">freebsd</TargetOS>
<TargetOS Condition="'$(TargetOS)' == '' and $(RuntimeIdentifier.StartsWith('win'))">windows</TargetOS>
<TargetOS Condition="'$(TargetOS)' == '' and $(RuntimeIdentifier.StartsWith('osx'))">osx</TargetOS>
<TargetOS Condition="'$(TargetOS)' == '' and $(RuntimeIdentifier.StartsWith('maccatalyst'))">maccatalyst</TargetOS>
<TargetOS Condition="'$(TargetOS)' == '' and $(RuntimeIdentifier.StartsWith('iossimulator'))">iossimulator</TargetOS>
<TargetOS Condition="'$(TargetOS)' == '' and $(RuntimeIdentifier.StartsWith('ios'))">ios</TargetOS>
<TargetOS Condition="'$(TargetOS)' == '' and $(RuntimeIdentifier.StartsWith('tvossimulator'))">tvossimulator</TargetOS>
<TargetOS Condition="'$(TargetOS)' == '' and $(RuntimeIdentifier.StartsWith('tvos'))">tvos</TargetOS>
<TargetOS Condition="'$(TargetOS)' == '' and $(RuntimeIdentifier.StartsWith('freebsd'))">freebsd</TargetOS>
<TargetOS Condition="'$(TargetOS)' == ''">linux</TargetOS>
<NativeDebugSymbols Condition="$(DebugSymbols) == 'true' or ($(DebugType) != 'none' and $(DebugType) != '')">true</NativeDebugSymbols>
<!-- Workaround for https://github.com/dotnet/runtimelab/issues/771 -->
Expand Down

0 comments on commit 407edf3

Please sign in to comment.