From fd641f3f10499d4368822b0776ded4c47f152ae7 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 15 Jul 2016 08:30:31 +0200 Subject: Name and cleanup extra VC files (.pdb, .ilk, .idb) --- build2/utility | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'build2/utility') diff --git a/build2/utility b/build2/utility index e7674c0..a5c4407 100644 --- a/build2/utility +++ b/build2/utility @@ -164,15 +164,24 @@ namespace build2 void hash_options (sha256&, const strings&); - // Check if a specified option is present in the variable value. + // Check if a specified option is present in the variable or value. // T is either target or scope. // template bool - find_option (const char* option, T&, const char* variable); + find_option (const char* option, + T&, + const char* variable, + bool ignore_case = false); bool - find_option (const char* option, const lookup&); + find_option (const char* option, const lookup&, bool ignore_case = false); + + bool + find_option (const char* option, const strings&, bool ignore_case = false); + + bool + find_option (const char* option, const cstrings&, bool ignore_case = false); // Parse version string in the X.Y.Z[-{a|b}N] to a version integer in the // AABBCCDD form, where: -- cgit v1.1