diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-07-15 08:30:31 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-07-15 08:30:31 +0200 |
commit | fd641f3f10499d4368822b0776ded4c47f152ae7 (patch) | |
tree | c3baad2070108d925fb2dbc4f0cdafcbc4a87272 /build2/utility | |
parent | c936e5b12df7270fe2164050312967c6335afbe7 (diff) |
Name and cleanup extra VC files (.pdb, .ilk, .idb)
Diffstat (limited to 'build2/utility')
-rw-r--r-- | build2/utility | 15 |
1 files changed, 12 insertions, 3 deletions
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 <typename T> 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: |