aboutsummaryrefslogtreecommitdiff
path: root/bdep/utility.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-04-28 16:41:02 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-04-28 16:41:02 +0200
commitb2d5f82512d0118a0668ce02f1a0730c3dcd50b8 (patch)
treeb470b17e276a67164212065f164823aa30b5165f /bdep/utility.hxx
parent77a9dc17b487123dc1aaf5c41b539d9abfe32dee (diff)
Implement auto-synchronization via build system hook
Diffstat (limited to 'bdep/utility.hxx')
-rw-r--r--bdep/utility.hxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/bdep/utility.hxx b/bdep/utility.hxx
index 31cd0cb..09e0e45 100644
--- a/bdep/utility.hxx
+++ b/bdep/utility.hxx
@@ -40,6 +40,10 @@ namespace bdep
using butl::ucase;
using butl::lcase;
using butl::casecmp;
+
+ using butl::trim;
+ using butl::next_word;
+
using butl::reverse_iterate;
using butl::exception_guard;
@@ -66,6 +70,10 @@ namespace bdep
extern const path repositories_file; // repositories.manifest
extern const path configurations_file; // configurations.manifest
+ // Process path (argv[0]).
+ //
+ extern const char* argv0;
+
// Directory extracted from argv[0] (i.e., this process' recall directory)
// or empty if there is none. Can be used as a search fallback.
//