diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2020-08-16 16:21:35 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2020-08-16 16:21:35 +0200 |
commit | 534ca7619a62a74bce8e4b30931aaf99f9c3beb6 (patch) | |
tree | 2e4ffc0b8aa6651f5003009df0f372529754b1f5 /libbuild2/config/utility.cxx | |
parent | d91e48ea57b83f7018a25d3f54bba96cf889d66d (diff) |
Add support for post-configure and pre-disfigure hooks
Diffstat (limited to 'libbuild2/config/utility.cxx')
-rw-r--r-- | libbuild2/config/utility.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libbuild2/config/utility.cxx b/libbuild2/config/utility.cxx index b3f94be..b10c980 100644 --- a/libbuild2/config/utility.cxx +++ b/libbuild2/config/utility.cxx @@ -14,6 +14,9 @@ namespace build2 vector_view<opspec>&, bool, const location&); + bool (*config_configure_post) (scope&, bool (*)(action, const scope&)); + bool (*config_disfigure_pre) (scope&, bool (*)(action, const scope&)); + namespace config { pair<lookup, bool> |