From 36dca0e0c94333c08015d30aa1e560cfc645ae3d Mon Sep 17 00:00:00 2001 From: Johan Laanstra Date: Fri, 18 Oct 2019 13:00:34 -0700 Subject: [PATCH] Update make targets to use marker file as output. --- nuget/Microsoft.Windows.CppWinRT.targets | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nuget/Microsoft.Windows.CppWinRT.targets b/nuget/Microsoft.Windows.CppWinRT.targets index 8f1ff0a6..289e66ca 100644 --- a/nuget/Microsoft.Windows.CppWinRT.targets +++ b/nuget/Microsoft.Windows.CppWinRT.targets @@ -417,7 +417,7 @@ $(XamlMetaDataProviderPch) Condition="'$(CppWinRTEnablePlatformProjection)' == 'true' AND '$(CppWinRTOverrideSDKReferences)' != 'true'" DependsOnTargets="GetCppWinRTPlatformWinMDInputs;$(CppWinRTMakePlatformProjectionDependsOn)" Inputs="@(CppWinRTPlatformWinMDInputs)" - Outputs="$(GeneratedFilesDir)winrt\base.h"> + Outputs="$(IntDir)cppwinrt_plat.rsp"> $(CppWinRTPath)cppwinrt %40"$(IntDir)cppwinrt_plat.rsp" @@ -446,7 +446,7 @@ $(XamlMetaDataProviderPch) Condition="'$(CppWinRTEnableReferenceProjection)' == 'true'" DependsOnTargets="GetCppWinRTProjectWinMDReferences;GetCppWinRTPlatformWinMDReferences;GetCppWinRTDirectWinMDReferences;$(CppWinRTMakeReferenceProjectionDependsOn)" Inputs="@(CppWinRTDirectWinMDReferences);@(CppWinRTDynamicProjectWinMDReferences);@(CppWinRTPlatformWinMDReferences)" - Outputs="@(CppWinRTDirectWinMDReferences->'$(GeneratedFilesDir)winrt\%(Filename).h');@(CppWinRTDynamicProjectWinMDReferences->'$(GeneratedFilesDir)winrt\%(Filename).h')"> + Outputs="$(IntDir)cppwinrt_ref.rsp"> $(CppWinRTPath)cppwinrt %40"$(IntDir)cppwinrt_ref.rsp" @@ -479,7 +479,7 @@ $(XamlMetaDataProviderPch) Condition="'$(CppWinRTEnableComponentProjection)' == 'true'" DependsOnTargets="GetCppWinRTProjectWinMDReferences;GetCppWinRTPlatformWinMDReferences;GetCppWinRTDirectWinMDReferences;$(CppWinRTMakeComponentProjectionDependsOn)" Inputs="@(Midl->'%(MetadataFileName)');@(CppWinRTStaticProjectWinMDReferences)" - Outputs="$(GeneratedFilesDir)winrt\$(RootNamespace).h"> + Outputs="$(IntDir)cppwinrt_comp.rsp"> <_PCH>@(ClCompile->Metadata('PrecompiledHeaderFile')->Distinct())