summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-09-04 17:14:15 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-09-04 17:14:15 +0200
commit0d23ec6f54eeada0917e94324e16b1cf52210b4d (patch)
treec56c08f32fe6c8a20be12c92e7128d884475e900
parent7c83b407648f1ef919218d8965d4c21378910755 (diff)
Update to work with latest build2
-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