summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build/root.build5
-rw-r--r--buildfile2
-rw-r--r--cli/buildfile4
3 files changed, 8 insertions, 3 deletions
diff --git a/build/root.build b/build/root.build
index a43ff57..02edc02 100644
--- a/build/root.build
+++ b/build/root.build
@@ -1,3 +1,6 @@
using cxx
-cxx.libs += -lcutl
+hxx.ext = hxx
+ixx.ext = ixx
+txx.ext = txx
+cxx.ext = cxx
diff --git a/buildfile b/buildfile
index 33dccaa..c5076e9 100644
--- a/buildfile
+++ b/buildfile
@@ -1,3 +1,3 @@
-d=cli/
+d = cli/
.: $d
include $d
diff --git a/cli/buildfile b/cli/buildfile
index e1292cc..ebb8447 100644
--- a/cli/buildfile
+++ b/cli/buildfile
@@ -1,8 +1,10 @@
+import libs = libcutl%lib{cutl}
+
sema = semantics/{class elements expression namespace option unit}
trav = traversal/{class elements namespace option unit}
exe{cli}: cxx{cli generator html lexer name-processor parser runtime-inline \
source context header inline man options runtime-header runtime-source \
-$sema $trav}
+$sema $trav} $libs
cxx.poptions += -I$out_base -I$src_base