summaryrefslogtreecommitdiff
path: root/solution.mk
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2013-05-17 00:56:46 +0300
committerMartin Storsjo <martin@martin.st>2013-05-21 09:57:02 +0300
commit0b4637e021089576d99405a33f0afe50a8f2c2e2 (patch)
treec71d57a9322dec9d2c221de0c3c325664340d389 /solution.mk
parentbd91bebe480b304b01b0f6fe7d83df440aef7967 (diff)
downloadlibvpx-0b4637e021089576d99405a33f0afe50a8f2c2e2.tar
libvpx-0b4637e021089576d99405a33f0afe50a8f2c2e2.tar.gz
libvpx-0b4637e021089576d99405a33f0afe50a8f2c2e2.tar.bz2
libvpx-0b4637e021089576d99405a33f0afe50a8f2c2e2.zip
msvs: Support producing both vcproj and vcxproj depending on configure variables
Change-Id: Ifa27c7064118c24401ea4e55a64e129c4f503cd5
Diffstat (limited to 'solution.mk')
-rw-r--r--solution.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/solution.mk b/solution.mk
index 948305f05..2c8d29a2a 100644
--- a/solution.mk
+++ b/solution.mk
@@ -9,14 +9,14 @@
##
# libvpx reverse dependencies (targets that depend on libvpx)
-VPX_NONDEPS=$(addsuffix .vcproj,vpx gtest obj_int_extract)
+VPX_NONDEPS=$(addsuffix .$(VCPROJ_SFX),vpx gtest obj_int_extract)
VPX_RDEPS=$(foreach vcp,\
- $(filter-out $(VPX_NONDEPS),$^), --dep=$(vcp:.vcproj=):vpx)
+ $(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,$^),$(VPX_RDEPS)) \
+ $(if $(filter vpx.$(VCPROJ_SFX),$^),$(VPX_RDEPS)) \
--dep=vpx:obj_int_extract \
--dep=test_libvpx:gtest \
--ver=$(CONFIG_VS_VERSION)\