From 31ac12a4e39fa701b1bd95e17afea4f739bf9506 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 8 Mar 2019 18:14:51 +0200 Subject: Filter out *.test.cxx in bootstrap.gmake --- bootstrap.gmake | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bootstrap.gmake') diff --git a/bootstrap.gmake b/bootstrap.gmake index d20137c..2aac8fc 100644 --- a/bootstrap.gmake +++ b/bootstrap.gmake @@ -146,6 +146,11 @@ build2_src := $(wildcard $(src_root)/build2/*.cxx) build2_src += $(foreach d,$(sub_dirs),$(wildcard $(src_root)/build2/$d/*.cxx)) libbutl_src := $(wildcard $(libbutl)/libbutl/*.cxx) +# Filter out *.test.cxx sources. +# +build2_src := $(filter-out %.test.cxx,$(build2_src)) +libbutl_src := $(filter-out %.test.cxx,$(libbutl_src)) + # Note that we use the .b.o object file extension to avoid clashing with the # build2 builds. # -- cgit v1.1