aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-12-03 15:09:51 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-12-03 15:09:51 +0200
commite6126827072270ab41efd91741f4c22f3eac4bc8 (patch)
tree92b3f411c3ff767e6f3626e7e5ab267a51eb8c14
parentaa2ab853a2188c214802a90234a3f46ba3891741 (diff)
Print libbutl version
-rw-r--r--build/b.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/b.cxx b/build/b.cxx
index 763a3a2..9a88721 100644
--- a/build/b.cxx
+++ b/build/b.cxx
@@ -16,6 +16,7 @@
#include <iostream>
#include <system_error>
+#include <butl/version>
#include <butl/filesystem>
#include <build/types>
@@ -66,6 +67,7 @@ main (int argc, char* argv[])
if (ops.version ())
{
cout << "build2 0.1.0.a1" << endl
+ << "libbutl " << LIBBUTL_VERSION_STR << endl
<< "Copyright (c) 2014-2015 Code Synthesis Ltd" << endl
<< "This is free software released under the MIT license." << endl;
return 0;