summaryrefslogtreecommitdiff
path: root/examples/cxx/tree/makefile
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/makefile
parentf00dbc9e45e650766bc9c2d81772b10e1a8425c3 (diff)
Auto-generate solution files for examples
Also change project file's VC version encoding
Diffstat (limited to 'examples/cxx/tree/makefile')
-rw-r--r--examples/cxx/tree/makefile11
1 files changed, 11 insertions, 0 deletions
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))