aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-11-23 11:43:02 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-11-23 11:43:02 +0200
commit290ea7840c979e38a2108030a99e7e9c61f40a8c (patch)
tree041eb38e45d39e032d203fb1c48f8ff07609db3e /build
parentd657b1d00d41bf448a94f6a7c49cacd41c5fac0e (diff)
Restructure and install std-detect.hxx
We have to install this header since it needs to be included'able during module sidebuilds.
Diffstat (limited to 'build')
-rw-r--r--build/export.build4
-rw-r--r--build/root.build1
2 files changed, 3 insertions, 2 deletions
diff --git a/build/export.build b/build/export.build
index 334181e..6f0347c 100644
--- a/build/export.build
+++ b/build/export.build
@@ -4,7 +4,7 @@
$out_root/:
{
- include buildfile
+ include libstd-modules/
}
-export $($out_root/:export_target)
+export $($out_root/libstd-modules/:export_target)
diff --git a/build/root.build b/build/root.build
index 9f670f8..4e7e989 100644
--- a/build/root.build
+++ b/build/root.build
@@ -9,5 +9,6 @@ using cxx
if! $cxx.features.modules
warn 'c++ compiler does not support modules'
+hxx{*}: extension = hxx
mxx{*}: extension = mxx
cxx{*}: extension = cxx