From 0d23ec6f54eeada0917e94324e16b1cf52210b4d Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 4 Sep 2015 17:14:15 +0200 Subject: Update to work with latest build2 --- build/root.build | 5 ++++- buildfile | 2 +- cli/buildfile | 4 +++- 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 -- cgit v1.1