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