X-Git-Url: https://granicus.if.org/sourcecode?a=blobdiff_plain;f=solution.mk;h=145adc0ddad33217570108eb71df69203ea11abc;hb=38bc1d0f4b25856c6c62286f14863ca5e0365827;hp=bef00883ff6dc9605d5f95a3c613d522ee8a86ec;hpb=f8d4a81af20705c4a023689e9c347f079ffe02e5;p=libvpx diff --git a/solution.mk b/solution.mk index bef00883f..145adc0dd 100644 --- a/solution.mk +++ b/solution.mk @@ -8,13 +8,16 @@ ## be found in the AUTHORS file in the root of the source tree. ## +# libvpx reverse dependencies (targets that depend on libvpx) +VPX_NONDEPS=$(addsuffix .$(VCPROJ_SFX),vpx gtest) +VPX_RDEPS=$(foreach vcp,\ + $(filter-out $(VPX_NONDEPS),$^), --dep=$(vcp:.$(VCPROJ_SFX)=):vpx) -vpx.sln: $(wildcard *.vcproj) +vpx.sln: $(wildcard *.$(VCPROJ_SFX)) @echo " [CREATE] $@" $(SRC_PATH_BARE)/build/make/gen_msvs_sln.sh \ - $(if $(filter %vpx.vcproj,$^),\ - $(foreach vcp,$(filter-out %vpx.vcproj,$^),\ - --dep=$(vcp:.vcproj=):vpx)) \ + $(if $(filter vpx.$(VCPROJ_SFX),$^),$(VPX_RDEPS)) \ + --dep=test_libvpx:gtest \ --ver=$(CONFIG_VS_VERSION)\ --out=$@ $^ vpx.sln.mk: vpx.sln