aboutsummaryrefslogtreecommitdiff
path: root/tests/dir-iterator/buildfile
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-10-01 03:57:03 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-10-01 03:57:03 +0200
commitaa3583916131f21b6a936cd88c4b74a21151644f (patch)
tree845aa6e2ccd8320345dafb24f4e4657d8b164389 /tests/dir-iterator/buildfile
parent0fa500a6d78cf6fd1d75d8db8ae28065bc2e36df (diff)
Only enable modularized build if forced
The two boolean command line variables that control this are: force_modules force_std_modules
Diffstat (limited to 'tests/dir-iterator/buildfile')
-rw-r--r--tests/dir-iterator/buildfile7
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/dir-iterator/buildfile b/tests/dir-iterator/buildfile
index 7f83e4f..361100d 100644
--- a/tests/dir-iterator/buildfile
+++ b/tests/dir-iterator/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}