summaryrefslogtreecommitdiff
path: root/examples/cxx/tree/binary
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2014-05-26 12:57:47 -0700
committerBoris Kolpackov <boris@codesynthesis.com>2014-05-26 12:57:47 -0700
commit6d218e2b7fa7af0b715223c068ab3b878efc67c4 (patch)
tree218712a63414e01c6d083463f27efe92604f688f /examples/cxx/tree/binary
parentf00dbc9e45e650766bc9c2d81772b10e1a8425c3 (diff)
Auto-generate solution files for examples
Also change project file's VC version encoding
Diffstat (limited to 'examples/cxx/tree/binary')
-rw-r--r--examples/cxx/tree/binary/boost/makefile16
-rw-r--r--examples/cxx/tree/binary/cdr/makefile14
-rw-r--r--examples/cxx/tree/binary/xdr/makefile16
3 files changed, 43 insertions, 3 deletions
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)