Skip to content

Commit 44edf44

Browse files
authored
Merge pull request #387 from jlaanstra/user/jlaans/386
Update make targets to use marker file as output.
2 parents e4830e1 + 36dca0e commit 44edf44

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nuget/Microsoft.Windows.CppWinRT.targets

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ $(XamlMetaDataProviderPch)
417417
Condition="'$(CppWinRTEnablePlatformProjection)' == 'true' AND '$(CppWinRTOverrideSDKReferences)' != 'true'"
418418
DependsOnTargets="GetCppWinRTPlatformWinMDInputs;$(CppWinRTMakePlatformProjectionDependsOn)"
419419
Inputs="@(CppWinRTPlatformWinMDInputs)"
420-
Outputs="$(GeneratedFilesDir)winrt\base.h">
420+
Outputs="$(IntDir)cppwinrt_plat.rsp">
421421
<PropertyGroup>
422422
<CppWinRTCommand>$(CppWinRTPath)cppwinrt %40"$(IntDir)cppwinrt_plat.rsp"</CppWinRTCommand>
423423
</PropertyGroup>
@@ -446,7 +446,7 @@ $(XamlMetaDataProviderPch)
446446
Condition="'$(CppWinRTEnableReferenceProjection)' == 'true'"
447447
DependsOnTargets="GetCppWinRTProjectWinMDReferences;GetCppWinRTPlatformWinMDReferences;GetCppWinRTDirectWinMDReferences;$(CppWinRTMakeReferenceProjectionDependsOn)"
448448
Inputs="@(CppWinRTDirectWinMDReferences);@(CppWinRTDynamicProjectWinMDReferences);@(CppWinRTPlatformWinMDReferences)"
449-
Outputs="@(CppWinRTDirectWinMDReferences->'$(GeneratedFilesDir)winrt\%(Filename).h');@(CppWinRTDynamicProjectWinMDReferences->'$(GeneratedFilesDir)winrt\%(Filename).h')">
449+
Outputs="$(IntDir)cppwinrt_ref.rsp">
450450
<PropertyGroup>
451451
<CppWinRTCommand>$(CppWinRTPath)cppwinrt %40"$(IntDir)cppwinrt_ref.rsp"</CppWinRTCommand>
452452
</PropertyGroup>
@@ -479,7 +479,7 @@ $(XamlMetaDataProviderPch)
479479
Condition="'$(CppWinRTEnableComponentProjection)' == 'true'"
480480
DependsOnTargets="GetCppWinRTProjectWinMDReferences;GetCppWinRTPlatformWinMDReferences;GetCppWinRTDirectWinMDReferences;$(CppWinRTMakeComponentProjectionDependsOn)"
481481
Inputs="@(Midl->'%(MetadataFileName)');@(CppWinRTStaticProjectWinMDReferences)"
482-
Outputs="$(GeneratedFilesDir)winrt\$(RootNamespace).h">
482+
Outputs="$(IntDir)cppwinrt_comp.rsp">
483483
<PropertyGroup>
484484
<_PCH>@(ClCompile->Metadata('PrecompiledHeaderFile')->Distinct())</_PCH>
485485
</PropertyGroup>

0 commit comments

Comments
 (0)