diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-02-08 12:08:55 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-02-08 12:08:55 +0200 |
commit | 10be61ad26034a574a013c979549aaedf9aa8382 (patch) | |
tree | a4a0d5385a1a54776a5cafabc4d2f603a1e8a452 /common/view/olv/makefile | |
parent | edb7ba7437aa577d65da942aaf778c16c9a501ed (diff) |
Split view/olv test into multiple headers files
VC++ complains that the object file is too large.
Diffstat (limited to 'common/view/olv/makefile')
-rw-r--r-- | common/view/olv/makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/common/view/olv/makefile b/common/view/olv/makefile index 9050601..c12d130 100644 --- a/common/view/olv/makefile +++ b/common/view/olv/makefile @@ -5,7 +5,8 @@ include $(dir $(lastword $(MAKEFILE_LIST)))../../../build/bootstrap.make cxx_tun := driver.cxx -odb_hdr := test.hxx +odb_hdr := test1.hxx test2.hxx test3.hxx test4.hxx test5.hxx test6.hxx \ +test7.hxx test8.hxx test9.hxx genf := $(call odb-gen,$(odb_hdr)) gen := $(addprefix $(out_base)/,$(genf)) cxx_obj := $(addprefix $(out_base)/,$(cxx_tun:.cxx=.o)) $(filter %.o,$(gen:.cxx=.o)) @@ -53,6 +54,7 @@ $(dist): sources := $(cxx_tun) $(dist): headers := $(odb_hdr) $(dist): data_dist := test.std $(dist): export name := $(name) +$(dist): export odb_header_stem := $(basename $(odb_hdr)) $(dist): export extra_dist := $(data_dist) $(call vc10projs,$(name)) \ $(call vc11projs,$(name)) $(call vc12projs,$(name)) $(dist): @@ -65,9 +67,9 @@ $(dist): # Test. # ifneq ($(db_id),common) -$(eval $(call test-rule)) +$(eval $(call test-rule,,$(filter %.sql,$(gen)))) else -$(foreach d,$(databases),$(eval $(call test-rule,$d))) +$(foreach d,$(databases),$(eval $(call test-rule,$d,$(filter %.sql,$(gen))))) endif # Clean. |