diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-04-02 15:59:29 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-04-02 15:59:29 +0200 |
commit | 095aac5b45cff29a39d46ebc0900ed3eb52b1a02 (patch) | |
tree | a1597e6759ebe920cdc67accff9441421fc75088 | |
parent | f68e47475778dd21cd47561e4485c5089c376204 (diff) |
Initial build2 support
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | build/bootstrap.build | 2 | ||||
-rw-r--r-- | build/root.build | 5 | ||||
-rw-r--r-- | buildfile | 3 | ||||
-rw-r--r-- | cli/buildfile | 8 |
5 files changed, 19 insertions, 0 deletions
@@ -15,6 +15,7 @@ # Generated build system files. # *-dynamic.make +config.build # Generated .gitignore files. # diff --git a/build/bootstrap.build b/build/bootstrap.build new file mode 100644 index 0000000..6bba96a --- /dev/null +++ b/build/bootstrap.build @@ -0,0 +1,2 @@ +project_name = cli +using config diff --git a/build/root.build b/build/root.build new file mode 100644 index 0000000..52c8c8a --- /dev/null +++ b/build/root.build @@ -0,0 +1,5 @@ +source $out_root/build/config.build + +using cxx + +cxx.libs += -lcutl diff --git a/buildfile b/buildfile new file mode 100644 index 0000000..33dccaa --- /dev/null +++ b/buildfile @@ -0,0 +1,3 @@ +d=cli/ +.: $d +include $d diff --git a/cli/buildfile b/cli/buildfile new file mode 100644 index 0000000..e1292cc --- /dev/null +++ b/cli/buildfile @@ -0,0 +1,8 @@ +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} + +cxx.poptions += -I$out_base -I$src_base |