aboutsummaryrefslogtreecommitdiff
path: root/examples/cxx/tree
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
parentf00dbc9e45e650766bc9c2d81772b10e1a8425c3 (diff)
Auto-generate solution files for examples
Also change project file's VC version encoding
Diffstat (limited to 'examples/cxx/tree')
-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
-rw-r--r--examples/cxx/tree/compression/makefile14
-rw-r--r--examples/cxx/tree/custom/calendar/makefile15
-rw-r--r--examples/cxx/tree/custom/makefile12
-rw-r--r--examples/cxx/tree/embedded/makefile15
-rw-r--r--examples/cxx/tree/makefile11
-rw-r--r--examples/cxx/tree/xpath/makefile16
9 files changed, 122 insertions, 7 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)
diff --git a/examples/cxx/tree/compression/makefile b/examples/cxx/tree/compression/makefile
index 9880141..43913f7 100644
--- a/examples/cxx/tree/compression/makefile
+++ b/examples/cxx/tree/compression/makefile
@@ -78,9 +78,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,compression-vc8.sln)
+ $(call meta-vc9sln,$(src_root)/dist/template-vc9.sln,compression-vc9.sln)
+ $(call meta-vc10sln,$(src_root)/dist/template-vc10.sln,compression-vc10.sln)
+ $(call meta-vc11sln,$(src_root)/dist/template-vc11.sln,compression-vc11.sln)
+ $(call meta-vc12sln,$(src_root)/dist/template-vc12.sln,compression-vc12.sln)
# Clean.
@@ -108,9 +114,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/custom/calendar/makefile b/examples/cxx/tree/custom/calendar/makefile
index 52a1c74..6998ffd 100644
--- a/examples/cxx/tree/custom/calendar/makefile
+++ b/examples/cxx/tree/custom/calendar/makefile
@@ -87,9 +87,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,calendar-vc8.sln)
+ $(call meta-vc9sln,$(src_root)/dist/template-vc9.sln,calendar-vc9.sln)
+ $(call meta-vc10sln,$(src_root)/dist/template-vc10.sln,calendar-vc10.sln)
+ $(call meta-vc11sln,$(src_root)/dist/template-vc11.sln,calendar-vc11.sln)
+ $(call meta-vc12sln,$(src_root)/dist/template-vc12.sln,calendar-vc12.sln)
+
# Clean.
#
@@ -116,9 +123,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/custom/makefile b/examples/cxx/tree/custom/makefile
index cd741a1..d84f840 100644
--- a/examples/cxx/tree/custom/makefile
+++ b/examples/cxx/tree/custom/makefile
@@ -31,15 +31,27 @@ $(install): $(addprefix $(out_base)/,$(addsuffix /.install,$(all_examples)))
$(dist): $(addprefix $(out_base)/,$(addsuffix /.dist,$(all_examples)))
$(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README)
+$(dist-win): |$(out_root)/.dist-pre
$(dist-win): $(addprefix $(out_base)/,$(addsuffix /.dist-win,$(all_examples)))
$(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,custom-vc8.sln)
+ $(call meta-vc9sln,$(src_root)/dist/template-vc9.sln,custom-vc9.sln)
+ $(call meta-vc10sln,$(src_root)/dist/template-vc10.sln,custom-vc10.sln)
+ $(call meta-vc11sln,$(src_root)/dist/template-vc11.sln,custom-vc11.sln)
+ $(call meta-vc12sln,$(src_root)/dist/template-vc12.sln,custom-vc12.sln)
+
# Clean.
#
$(clean): $(addprefix $(out_base)/,$(addsuffix /.clean,$(build_examples)))
$(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)
ifneq ($(filter $(MAKECMDGOALS),dist dist-win install),)
$(foreach e,$(all_examples),$(call import,$(src_base)/$e/makefile))
diff --git a/examples/cxx/tree/embedded/makefile b/examples/cxx/tree/embedded/makefile
index 8e8f5f8..1dc4914 100644
--- a/examples/cxx/tree/embedded/makefile
+++ b/examples/cxx/tree/embedded/makefile
@@ -81,9 +81,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,embedded-vc8.sln)
+ $(call meta-vc9sln,$(src_root)/dist/template-vc9.sln,embedded-vc9.sln)
+ $(call meta-vc10sln,$(src_root)/dist/template-vc10.sln,embedded-vc10.sln)
+ $(call meta-vc11sln,$(src_root)/dist/template-vc11.sln,embedded-vc11.sln)
+ $(call meta-vc12sln,$(src_root)/dist/template-vc12.sln,embedded-vc12.sln)
+
# Clean.
@@ -113,9 +120,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/makefile b/examples/cxx/tree/makefile
index 0765a58..3221b30 100644
--- a/examples/cxx/tree/makefile
+++ b/examples/cxx/tree/makefile
@@ -39,15 +39,26 @@ $(install): $(addprefix $(out_base)/,$(addsuffix /.install,$(all_examples)))
$(dist): $(addprefix $(out_base)/,$(addsuffix /.dist,$(all_examples)))
$(call install-data,$(src_base)/README,$(dist_prefix)/$(path)/README)
+$(dist-win): |$(out_root)/.dist-pre
$(dist-win): $(addprefix $(out_base)/,$(addsuffix /.dist-win,$(all_examples)))
$(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,tree-vc8.sln)
+ $(call meta-vc9sln,$(src_root)/dist/template-vc9.sln,tree-vc9.sln)
+ $(call meta-vc10sln,$(src_root)/dist/template-vc10.sln,tree-vc10.sln)
+ $(call meta-vc11sln,$(src_root)/dist/template-vc11.sln,tree-vc11.sln)
+ $(call meta-vc12sln,$(src_root)/dist/template-vc12.sln,tree-vc12.sln)
# Clean.
#
$(clean): $(addprefix $(out_base)/,$(addsuffix /.clean,$(build_examples)))
$(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)
ifneq ($(filter $(MAKECMDGOALS),dist dist-win install),)
$(foreach e,$(all_examples),$(call import,$(src_base)/$e/makefile))
diff --git a/examples/cxx/tree/xpath/makefile b/examples/cxx/tree/xpath/makefile
index 352ccd1..693c6b2 100644
--- a/examples/cxx/tree/xpath/makefile
+++ b/examples/cxx/tree/xpath/makefile
@@ -73,9 +73,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,xpath-vc8.sln)
+ $(call meta-vc9sln,$(src_root)/dist/template-vc9.sln,xpath-vc9.sln)
+ $(call meta-vc10sln,$(src_root)/dist/template-vc10.sln,xpath-vc10.sln)
+ $(call meta-vc11sln,$(src_root)/dist/template-vc11.sln,xpath-vc11.sln)
+ $(call meta-vc12sln,$(src_root)/dist/template-vc12.sln,xpath-vc12.sln)
+
# Clean.
#
@@ -101,9 +108,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)