diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-05-03 16:09:03 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-05-03 16:09:03 +0200 |
commit | 04669106fb41d787e0686023dcce640fbe59865d (patch) | |
tree | 056d2fedf396006d6e243346ea8de689ddf23c08 /tests/build/root.build | |
parent | 422f8cb7e03e9ba3cc95fde65585dcbd74aaa522 (diff) |
Partially dismantle modularization using Modules TS semantics
Diffstat (limited to 'tests/build/root.build')
-rw-r--r-- | tests/build/root.build | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/tests/build/root.build b/tests/build/root.build index 7e30c57..126009d 100644 --- a/tests/build/root.build +++ b/tests/build/root.build @@ -2,22 +2,10 @@ # copyright : Copyright (c) 2014-2019 Code Synthesis Ltd # license : MIT; see accompanying LICENSE file -cxx.std = experimental -cxx.features.modules = ($force_modules == true) +cxx.std = latest using cxx -if ($force_modules == true && !$cxx.features.modules) - fail 'c++ compiler does not support modules' - -if ($force_std_modules == true) -{ - import stdmod_lib = libstd-modules%liba{std-modules} - cxx.poptions += -D__cpp_lib_modules -} -else - stdmod_lib = - hxx{*}: extension = hxx cxx{*}: extension = cxx |