summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2014-07-01 16:08:21 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2014-07-01 16:08:21 +0800
commit98d37f203e1f60f45a761f3be74a5e6864f5d9d6 (patch)
tree7f78506b5bfa4956a6ac1a6e7184d256e60b6ed9
parent46df528adf7ce75be4bbdd3f97349670cb24a018 (diff)
MSVC 2012/2013 Support: Update Property Sheet Creation
Be a bit more careful when copying and updating the property sheets, so that we don't accidently change fields with '10' in them that are actually not indicating the Visual Studio version.
-rw-r--r--build/Makefile-newvs.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/Makefile-newvs.am b/build/Makefile-newvs.am
index 04d2405cd..e63b15f76 100644
--- a/build/Makefile-newvs.am
+++ b/build/Makefile-newvs.am
@@ -26,7 +26,7 @@ create_vcxproj:
create_props:
for F in `(cd $(top_builddir)/build/win32/vs10 && ls *.props)`; do \
case $$F in \
- *) cat $(top_builddir)/build/win32/vs10/$$F | sed 's/10/$(MSVC_VER)/g' > $(top_builddir)/build/win32/vs$(MSVC_VER)/$$F \
+ *) cat $(top_builddir)/build/win32/vs10/$$F | sed 's/<VSVer>10<\/VSVer>/<VSVer>$(MSVC_VER)<\/VSVer>/g' > $(top_builddir)/build/win32/vs$(MSVC_VER)/$$F \
;; \
esac; \
done