aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-04-03 10:47:47 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-04-03 10:47:47 +0200
commitc13366d910ebbdfc30c8b399ff29161747537d1c (patch)
treef2688e365180cd568e86206fa8f2c4d25beb7299
parenta133e7b03bd67c992cfb240bd300967ffab31ba2 (diff)
Redo version header
-rw-r--r--bbot/agent.cxx2
-rw-r--r--bbot/buildfile2
-rw-r--r--bbot/utility1
-rw-r--r--bbot/version-impl (renamed from bbot/bbot-version)2
4 files changed, 3 insertions, 4 deletions
diff --git a/bbot/agent.cxx b/bbot/agent.cxx
index 54940f4..a8c1b6e 100644
--- a/bbot/agent.cxx
+++ b/bbot/agent.cxx
@@ -16,8 +16,6 @@
#include <bbot/utility>
#include <bbot/diagnostics>
-#include <bbot/bbot-version>
-
#include <bbot/agent-options>
using namespace std;
diff --git a/bbot/buildfile b/bbot/buildfile
index 1f48062..bcd0b93 100644
--- a/bbot/buildfile
+++ b/bbot/buildfile
@@ -7,12 +7,12 @@ import libs += libbbot%lib{bbot}
exe{bbot-agent}: \
{ cxx}{ agent } {hxx ixx cxx}{ agent-options } \
-{hxx }{ bbot-version } \
{hxx ixx cxx}{ common-options } \
{hxx cxx}{ diagnostics } \
{hxx }{ types } \
{hxx cxx}{ types-parsers } \
{hxx cxx}{ utility } \
+{hxx }{ version-impl } \
$libs
# Generated options parser.
diff --git a/bbot/utility b/bbot/utility
index 05e90c7..032ffca 100644
--- a/bbot/utility
+++ b/bbot/utility
@@ -18,6 +18,7 @@
#include <butl/filesystem>
#include <bbot/types>
+#include <bbot/version-impl>
namespace bbot
{
diff --git a/bbot/bbot-version b/bbot/version-impl
index 84dc85d..0205167 100644
--- a/bbot/bbot-version
+++ b/bbot/version-impl
@@ -1,4 +1,4 @@
-// file : bbot/bbot-version -*- C++ -*-
+// file : bbot/version-impl -*- C++ -*-
// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
// license : MIT; see accompanying LICENSE file