ref: 9a5cac0a55f9c99863ebbd4f5ae6315073b5dffb
parent: 0b4637e021089576d99405a33f0afe50a8f2c2e2
author: Martin Storsjo <martin@martin.st>
date: Sat May 18 15:57:19 EDT 2013
msvs: Pass dependency project vcxproj files to the project generation script This is required since the dependencies are specified within the vcxproj files themselves, not in the solution file. This doesn't do anything for the old vcproj files. Change-Id: If7818d8e9dbf4aac5bcb34abe648946cf24db51c
--- a/examples.mk
+++ b/examples.mk
@@ -231,7 +231,7 @@
# even though there is no real dependency there (the dependency is on
# the makefiles). We may want to revisit this.
define vcproj_template
-$(1): $($(1:.$(VCPROJ_SFX)=).SRCS)
+$(1): $($(1:.$(VCPROJ_SFX)=).SRCS) vpx.$(VCPROJ_SFX)
@echo " [vcproj] $$@"
$$(GEN_VCPROJ)\
--exe\
--- a/libs.mk
+++ b/libs.mk
@@ -230,7 +230,7 @@
--out=$@ $^
CLEAN-OBJS += vpx.def
-vpx.$(VCPROJ_SFX): $(CODEC_SRCS) vpx.def
+vpx.$(VCPROJ_SFX): $(CODEC_SRCS) vpx.def obj_int_extract.$(VCPROJ_SFX)
@echo " [CREATE] $@"
$(qexec)$(GEN_VCPROJ) \
$(if $(CONFIG_SHARED),--dll,--lib) \
@@ -419,7 +419,7 @@
PROJECTS-$(CONFIG_MSVS) += gtest.$(VCPROJ_SFX)
-test_libvpx.$(VCPROJ_SFX): $(LIBVPX_TEST_SRCS)
+test_libvpx.$(VCPROJ_SFX): $(LIBVPX_TEST_SRCS) vpx.$(VCPROJ_SFX) gtest.$(VCPROJ_SFX)
@echo " [CREATE] $@"
$(qexec)$(GEN_VCPROJ) \
--exe \
--
⑨