From 6d218e2b7fa7af0b715223c068ab3b878efc67c4 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 26 May 2014 12:57:47 -0700 Subject: Auto-generate solution files for examples Also change project file's VC version encoding --- examples/cxx/tree/binary/boost/makefile | 16 +++++++++++++++- examples/cxx/tree/binary/cdr/makefile | 14 +++++++++++++- examples/cxx/tree/binary/xdr/makefile | 16 +++++++++++++++- 3 files changed, 43 insertions(+), 3 deletions(-) (limited to 'examples/cxx/tree/binary') diff --git a/examples/cxx/tree/binary/boost/makefile b/examples/cxx/tree/binary/boost/makefile index 93791b4..1ed7e41 100644 --- a/examples/cxx/tree/binary/boost/makefile +++ b/examples/cxx/tree/binary/boost/makefile @@ -82,9 +82,16 @@ $(dist-common): $(dist): $(dist-common) $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README) +$(dist-win): |$(out_root)/.dist-pre $(dist-win): $(dist-common) $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README.txt) $(call message,,todos $(dist_prefix)/$(path)/README.txt) + $(call meta-vc8sln,$(src_root)/dist/template-vc8.sln,boost-vc8.sln) + $(call meta-vc9sln,$(src_root)/dist/template-vc9.sln,boost-vc9.sln) + $(call meta-vc10sln,$(src_root)/dist/template-vc10.sln,boost-vc10.sln) + $(call meta-vc11sln,$(src_root)/dist/template-vc11.sln,boost-vc11.sln) + $(call meta-vc12sln,$(src_root)/dist/template-vc12.sln,boost-vc12.sln) + # Clean. # @@ -110,9 +117,16 @@ endif $(call include,$(bld_root)/cxx/o-e.make) $(call include,$(bld_root)/cxx/cxx-o.make) $(call include,$(bld_root)/cxx/cxx-d.make) -$(call include,$(bld_root)/install.make) $(call include,$(scf_root)/xsd/tree/xsd-cxx.make) +$(call include,$(bld_root)/install.make) +$(call include,$(bld_root)/meta/vc8sln.make) +$(call include,$(bld_root)/meta/vc9sln.make) +$(call include,$(bld_root)/meta/vc10sln.make) +$(call include,$(bld_root)/meta/vc11sln.make) +$(call include,$(bld_root)/meta/vc12sln.make) + + # Dependencies. # $(call import,$(src_root)/xsd/makefile) diff --git a/examples/cxx/tree/binary/cdr/makefile b/examples/cxx/tree/binary/cdr/makefile index ccbea47..b349ba2 100644 --- a/examples/cxx/tree/binary/cdr/makefile +++ b/examples/cxx/tree/binary/cdr/makefile @@ -72,9 +72,15 @@ $(dist-common): $(dist): $(dist-common) $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README) +$(dist-win): |$(out_root)/.dist-pre $(dist-win): $(dist-common) $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README.txt) $(call message,,todos $(dist_prefix)/$(path)/README.txt) + $(call meta-vc8sln,$(src_root)/dist/template-vc8.sln,cdr-vc8.sln) + $(call meta-vc9sln,$(src_root)/dist/template-vc9.sln,cdr-vc9.sln) + $(call meta-vc10sln,$(src_root)/dist/template-vc10.sln,cdr-vc10.sln) + $(call meta-vc11sln,$(src_root)/dist/template-vc11.sln,cdr-vc11.sln) + $(call meta-vc12sln,$(src_root)/dist/template-vc12.sln,cdr-vc12.sln) # Clean. # @@ -100,9 +106,15 @@ endif $(call include,$(bld_root)/cxx/o-e.make) $(call include,$(bld_root)/cxx/cxx-o.make) $(call include,$(bld_root)/cxx/cxx-d.make) -$(call include,$(bld_root)/install.make) $(call include,$(scf_root)/xsd/tree/xsd-cxx.make) +$(call include,$(bld_root)/install.make) +$(call include,$(bld_root)/meta/vc8sln.make) +$(call include,$(bld_root)/meta/vc9sln.make) +$(call include,$(bld_root)/meta/vc10sln.make) +$(call include,$(bld_root)/meta/vc11sln.make) +$(call include,$(bld_root)/meta/vc12sln.make) + # Dependencies. # $(call import,$(src_root)/xsd/makefile) diff --git a/examples/cxx/tree/binary/xdr/makefile b/examples/cxx/tree/binary/xdr/makefile index cd5ff43..7939b29 100644 --- a/examples/cxx/tree/binary/xdr/makefile +++ b/examples/cxx/tree/binary/xdr/makefile @@ -64,9 +64,16 @@ $(dist-common): $(dist): $(dist-common) $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README) +$(dist-win): |$(out_root)/.dist-pre $(dist-win): $(dist-common) $(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README.txt) $(call message,,todos $(dist_prefix)/$(path)/README.txt) + $(call meta-vc8sln,$(src_root)/dist/template-vc8.sln,xdr-vc8.sln) + $(call meta-vc9sln,$(src_root)/dist/template-vc9.sln,xdr-vc9.sln) + $(call meta-vc10sln,$(src_root)/dist/template-vc10.sln,xdr-vc10.sln) + $(call meta-vc11sln,$(src_root)/dist/template-vc11.sln,xdr-vc11.sln) + $(call meta-vc12sln,$(src_root)/dist/template-vc12.sln,xdr-vc12.sln) + # Clean. # @@ -92,9 +99,16 @@ endif $(call include,$(bld_root)/cxx/o-e.make) $(call include,$(bld_root)/cxx/cxx-o.make) $(call include,$(bld_root)/cxx/cxx-d.make) -$(call include,$(bld_root)/install.make) $(call include,$(scf_root)/xsd/tree/xsd-cxx.make) +$(call include,$(bld_root)/install.make) +$(call include,$(bld_root)/meta/vc8sln.make) +$(call include,$(bld_root)/meta/vc9sln.make) +$(call include,$(bld_root)/meta/vc10sln.make) +$(call include,$(bld_root)/meta/vc11sln.make) +$(call include,$(bld_root)/meta/vc12sln.make) + + # Dependencies. # $(call import,$(src_root)/xsd/makefile) -- cgit v1.1