From 3cf3b73ffc6881d5428a735736a347f6e143b366 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 29 Feb 2016 10:57:40 +0200 Subject: Implement auxiliary dependency database (.d files), use in cxx.compile This is part of the "High Fidelity Build" work. --- build2/config/utility.txx | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'build2/config/utility.txx') diff --git a/build2/config/utility.txx b/build2/config/utility.txx index fd32599..d3c57a5 100644 --- a/build2/config/utility.txx +++ b/build2/config/utility.txx @@ -25,21 +25,5 @@ namespace build2 return result (root.assign (var) = def_value, true); } - - template - bool - find_option (const char* option, T& s, const char* var) - { - if (auto l = s[var]) - { - for (const string& s: as (*l)) - { - if (s == option) - return true; - } - } - - return false; - } } } -- cgit v1.1