aboutsummaryrefslogtreecommitdiff
path: root/build2/version/utility.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-05-19 13:04:43 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-05-19 13:04:43 +0200
commit6df8d61f7a6fa66299f3fd687dcd174af41262be (patch)
tree6e74826de38a01ab1487d3e8bdc1ab6b0b19dca6 /build2/version/utility.hxx
parent10ea003c84f01b7b9685123291a19e9c562221f7 (diff)
Add missing build2/version/utility.?xx files
Diffstat (limited to 'build2/version/utility.hxx')
-rw-r--r--build2/version/utility.hxx25
1 files changed, 25 insertions, 0 deletions
diff --git a/build2/version/utility.hxx b/build2/version/utility.hxx
new file mode 100644
index 0000000..c373f6c
--- /dev/null
+++ b/build2/version/utility.hxx
@@ -0,0 +1,25 @@
+// file : build2/version/utility.hxx -*- C++ -*-
+// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
+// license : MIT; see accompanying LICENSE file
+
+#ifndef BUILD2_VERSION_UTILITY_HXX
+#define BUILD2_VERSION_UTILITY_HXX
+
+#include <build2/types.hxx>
+#include <build2/utility.hxx>
+
+#include <build2/filesystem.hxx>
+
+namespace build2
+{
+ namespace version
+ {
+ // Re-serialize the manifest fixing up the version. Note that this will
+ // not preserve comments. Probably acceptable for snapshots.
+ //
+ auto_rmfile
+ fixup_manifest (const path& in, path out, const standard_version&);
+ }
+}
+
+#endif // BUILD2_VERSION_UTILITY_HXX