From b2d5f82512d0118a0668ce02f1a0730c3dcd50b8 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 28 Apr 2018 16:41:02 +0200 Subject: Implement auto-synchronization via build system hook --- bdep/utility.hxx | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'bdep/utility.hxx') 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. // -- cgit v1.1