From aa3583916131f21b6a936cd88c4b74a21151644f Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 1 Oct 2017 03:57:03 +0200 Subject: Only enable modularized build if forced The two boolean command line variables that control this are: force_modules force_std_modules --- tests/sendmail/buildfile | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'tests/sendmail/buildfile') diff --git a/tests/sendmail/buildfile b/tests/sendmail/buildfile index a854e89..773efe0 100644 --- a/tests/sendmail/buildfile +++ b/tests/sendmail/buildfile @@ -3,11 +3,6 @@ # license : MIT; see accompanying LICENSE file import libs = libbutl%lib{butl} - -if ($cxx.features.modules && ($force_std_modules == true || $cxx.id != 'msvc')) -{ - import libs += libstd-modules%liba{std-modules} - cxx.poptions += -D__cpp_lib_modules -} +libs += $stdmod_lib exe{driver}: {hxx cxx}{*} $libs test{testscript} -- cgit v1.1