From 2014afd743734d1225e78beffad146d643832071 Mon Sep 17 00:00:00 2001 From: Jerome Haltom Date: Fri, 31 May 2024 14:15:08 -0500 Subject: [PATCH] Add Link and Include metadata to ProjectReference to determine if we add includes or link. --- src/IKVM.Clang.Sdk/targets/IKVM.Clang.Core.targets | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/IKVM.Clang.Sdk/targets/IKVM.Clang.Core.targets b/src/IKVM.Clang.Sdk/targets/IKVM.Clang.Core.targets index 1799916..8a011ef 100644 --- a/src/IKVM.Clang.Sdk/targets/IKVM.Clang.Core.targets +++ b/src/IKVM.Clang.Sdk/targets/IKVM.Clang.Core.targets @@ -124,6 +124,8 @@ ProjectReference + True + True @@ -221,11 +223,11 @@ - + <_LibraryDirectories Remove="@(_LibraryDirectories)" /> - <_LibraryDirectories Include="@(GetProjectReferenceOutputItems->'%(LibraryPath)')" /> + <_LibraryDirectories Include="@(GetProjectReferenceOutputItems->WithMetadataValue('Link', 'True')->'%(LibraryPath)')" /> - +