forked from ikvmnet/ikvm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
IKVM.libs.targets
32 lines (29 loc) · 1.59 KB
/
IKVM.libs.targets
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
28
29
30
31
32
<Project>
<ItemGroup>
<DotNetClangProjectReference Include="$(MSBuildThisFileDirectory)src\libikvm\libikvm.clangproj" />
</ItemGroup>
<Target Name="GetDotNetClangProjectReferencesByRuntime" Inputs="@(DotNetClangProjectReference)" Outputs="%(DotNetClangProjectReference.Identity)\null" BeforeTargets="AssignClangProjectConfiguration">
<PropertyGroup>
<__SupportedRuntimes>%(DotNetClangProjectReference.SupportedRuntimes)</__SupportedRuntimes>
<__SupportedRuntimes Condition=" '$(__SupportedRuntimes)' == '' ">$(_SupportedRuntimes)</__SupportedRuntimes>
</PropertyGroup>
<ItemGroup>
<__SupportedRuntimes Include="$(__SupportedRuntimes)" />
</ItemGroup>
<ItemGroup>
<_ReferencedClangProjectReference Remove="@(_ReferencedClangProjectReference)" />
<_ReferencedClangProjectReference Include="@(DotNetClangProjectReference)">
<RuntimeIdentifier>%(__SupportedRuntimes.Identity)</RuntimeIdentifier>
</_ReferencedClangProjectReference>
<ClangProjectReference Include="@(_ReferencedClangProjectReference)" Condition="$(_EnabledRuntimes.Contains(';%(RuntimeIdentifier);'))">
<RuntimeIdentifier>%(RuntimeIdentifier)</RuntimeIdentifier>
</ClangProjectReference>
</ItemGroup>
</Target>
<PropertyGroup>
<GetClangProjectReferencesDependsOn>
$(GetClangProjectReferencesDependsOn);
GetDotNetClangProjectReferencesByRuntime;
</GetClangProjectReferencesDependsOn>
</PropertyGroup>
</Project>