aboutsummaryrefslogtreecommitdiff
path: root/build/root.build
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-05-03 16:09:03 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-05-03 16:09:03 +0200
commit04669106fb41d787e0686023dcce640fbe59865d (patch)
tree056d2fedf396006d6e243346ea8de689ddf23c08 /build/root.build
parent422f8cb7e03e9ba3cc95fde65585dcbd74aaa522 (diff)
Partially dismantle modularization using Modules TS semantics
Diffstat (limited to 'build/root.build')
-rw-r--r--build/root.build9
1 files changed, 2 insertions, 7 deletions
diff --git a/build/root.build b/build/root.build
index 9ef0ff5..8e824e2 100644
--- a/build/root.build
+++ b/build/root.build
@@ -2,16 +2,11 @@
# 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'
-
-mxx{*}: extension = mxx
-hxx{*}: extension = hxx
+hxx{*}: extension = mxx # We also have .hxx; see libbutl/buildfile.
ixx{*}: extension = ixx
txx{*}: extension = txx
cxx{*}: extension = cxx