aboutsummaryrefslogtreecommitdiff
path: root/loader
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-12-18 12:12:29 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-12-18 12:12:29 +0200
commit0dbe4e64dd04df8cece55203d3b18cd63f080407 (patch)
tree0de71d5687b74cc062f968f11667c3a548cc27ff /loader
parent0b69ab0367d83da4a86d9f9d429d72e00d9e8f7f (diff)
Add <brep/version>
Diffstat (limited to 'loader')
-rw-r--r--loader/loader.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/loader/loader.cxx b/loader/loader.cxx
index 4512b8d..343c810 100644
--- a/loader/loader.cxx
+++ b/loader/loader.cxx
@@ -23,6 +23,7 @@
#include <brep/types>
#include <brep/utility>
+#include <brep/version>
#include <brep/package>
#include <brep/package-odb>
@@ -704,7 +705,10 @@ main (int argc, char* argv[])
//
if (ops.version ())
{
- cout << "brep-loader 0.1.0" << endl
+ cout << "brep-loader " << BREP_VERSION_STR << endl
+ << "libbrep " << LIBBREP_VERSION_STR << endl
+ << "libbpkg " << LIBBPKG_VERSION_STR << endl
+ << "libbutl " << LIBBUTL_VERSION_STR << endl
<< "Copyright (c) 2014-2015 Code Synthesis Ltd" << endl
<< "MIT; see accompanying LICENSE file" << endl;