From c9c366bc5f77a806384ebf678fe4335c1422884c Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 20 Aug 2017 15:36:55 +0200 Subject: Adjust bootstrap not to need pre-generated version.hxx --- build2/utility.hxx | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'build2/utility.hxx') diff --git a/build2/utility.hxx b/build2/utility.hxx index b057add..57d5f71 100644 --- a/build2/utility.hxx +++ b/build2/utility.hxx @@ -23,7 +23,18 @@ #include #include -#include + +// "Fake" version values used during bootstrap. +// +#ifdef BUILD2_BOOTSTRAP +# define BUILD2_VERSION 9999999990000ULL +# define BUILD2_VERSION_STR "999.999.999" +# define BUILD2_VERSION_ID "999.999.999" +# define LIBBUTL_VERSION_STR "999.999.999" +# define LIBBUTL_VERSION_ID "999.999.999" +#else +# include +#endif namespace build2 { -- cgit v1.1