aboutsummaryrefslogtreecommitdiff
path: root/build2/operation.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-04-27 12:01:09 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-04-27 12:01:09 +0200
commit3813b05824fa2616b8ab9c18ed158c0c02265337 (patch)
tree35dc74b54ae0b6096e93fd76471faba140facb46 /build2/operation.cxx
parentbff415fd8a787a63bcda2d9f95c8e086e40c1368 (diff)
Add support for build hooks
The following buildfiles are loaded (if present) at appropriate times from the out_root subdirectories of a project: build/bootstrap/pre-*.build # before loading bootstrap.build build/bootstrap/post-*.build # after loading bootstrap.build build/root/pre-*.build # before loading root.build build/root/post-*.build # after loading root.build
Diffstat (limited to 'build2/operation.cxx')
-rw-r--r--build2/operation.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/operation.cxx b/build2/operation.cxx
index dabebcc..10ae6e7 100644
--- a/build2/operation.cxx
+++ b/build2/operation.cxx
@@ -72,9 +72,9 @@ namespace build2
const dir_path& src_base,
const location&)
{
- // Load project's root[-pre].build.
+ // Load project's root.build.
//
- load_root_pre (root);
+ load_root (root);
// Create the base scope. Note that its existence doesn't mean it was
// already setup as a base scope; it can be the same as root.