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 --- libbutl/buildfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libbutl/buildfile') diff --git a/libbutl/buildfile b/libbutl/buildfile index ccf8908..d3ec87b 100644 --- a/libbutl/buildfile +++ b/libbutl/buildfile @@ -4,8 +4,11 @@ int_libs = -if ($cxx.features.modules && ($force_std_modules == true || $cxx.id != 'msvc')) +if ($force_std_modules == true) { + #@@ MOD is it really an interface dependency? I guess if we re-export + # then it is? Or maybe it is special? + # import int_libs += libstd-modules%liba{std-modules} cxx.poptions += -D__cpp_lib_modules } -- cgit v1.1