From c9cde47347bf473b7938961a0e51e8c740384ac6 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 15 Mar 2016 11:03:56 +0200 Subject: Temporarily make buildfiles compatible with build2 0.2.0 --- build2/context.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'build2/context.cxx') diff --git a/build2/context.cxx b/build2/context.cxx index 812886c..746592d 100644 --- a/build2/context.cxx +++ b/build2/context.cxx @@ -90,6 +90,10 @@ namespace build2 gs.assign ("build.work", dir_path_type) = work; gs.assign ("build.home", dir_path_type) = home; + // @@ Backwards-compatibility hack. + // + gs.assign ("__build2_greater_than_0_2_0_hack__", bool_type) = true; + // Enter the version. // // @@ VAR types -- cgit v1.1