aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build2/b.cxx1
-rw-r--r--build2/buildfile2
-rw-r--r--build2/context.cxx1
-rw-r--r--build2/parser.cxx2
-rw-r--r--build2/utility1
-rw-r--r--build2/version-impl (renamed from build2/version)2
6 files changed, 3 insertions, 6 deletions
diff --git a/build2/b.cxx b/build2/b.cxx
index 89c3d9c..47541c4 100644
--- a/build2/b.cxx
+++ b/build2/b.cxx
@@ -17,7 +17,6 @@
#include <build2/types>
#include <build2/utility>
-#include <build2/version>
#include <build2/spec>
#include <build2/operation>
diff --git a/build2/buildfile b/build2/buildfile
index 90faa6e..83f0a08 100644
--- a/build2/buildfile
+++ b/build2/buildfile
@@ -41,7 +41,7 @@ exe{b}: \
{hxx cxx}{ types-parsers } \
{hxx ixx txx cxx}{ utility } \
{hxx ixx txx cxx}{ variable } \
- {hxx }{ version } \
+ {hxx }{ version-impl } \
bin/{hxx cxx}{ guess } \
bin/{hxx cxx}{ init } \
bin/{hxx cxx}{ rule } \
diff --git a/build2/context.cxx b/build2/context.cxx
index fa3edfa..40537b4 100644
--- a/build2/context.cxx
+++ b/build2/context.cxx
@@ -9,7 +9,6 @@
#include <build2/rule>
#include <build2/scope>
#include <build2/target>
-#include <build2/version>
#include <build2/diagnostics>
// For command line variable parsing.
diff --git a/build2/parser.cxx b/build2/parser.cxx
index eacece1..b95aeae 100644
--- a/build2/parser.cxx
+++ b/build2/parser.cxx
@@ -8,8 +8,6 @@
#include <butl/filesystem> // path_search(), path_match()
-#include <build2/version>
-
#include <build2/file>
#include <build2/scope>
#include <build2/module>
diff --git a/build2/utility b/build2/utility
index d7b4797..5e2fd22 100644
--- a/build2/utility
+++ b/build2/utility
@@ -23,6 +23,7 @@
#include <build2/types>
#include <build2/b-options>
+#include <build2/version-impl>
namespace build2
{
diff --git a/build2/version b/build2/version-impl
index 2abfd15..3df315e 100644
--- a/build2/version
+++ b/build2/version-impl
@@ -1,4 +1,4 @@
-// file : build2/version -*- C++ -*-
+// file : build2/version-impl -*- C++ -*-
// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
// license : MIT; see accompanying LICENSE file