aboutsummaryrefslogtreecommitdiff
path: root/tests/manifest-roundtrip/buildfile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manifest-roundtrip/buildfile')
-rw-r--r--tests/manifest-roundtrip/buildfile6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/manifest-roundtrip/buildfile b/tests/manifest-roundtrip/buildfile
index a2fb3ac..5cd296f 100644
--- a/tests/manifest-roundtrip/buildfile
+++ b/tests/manifest-roundtrip/buildfile
@@ -4,5 +4,11 @@
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
+}
+
exe{driver}: {hxx cxx}{*} $libs
exe{driver}: test.roundtrip = manifest