From e0de4f26fcf598b4f6beaa2847c4d43a4c761f5b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 1 Apr 2015 12:18:40 +0200 Subject: Warn about configured/command line value mismatch Also store configured but unspecified values --- build/name | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'build/name') diff --git a/build/name b/build/name index fc89f44..f45930e 100644 --- a/build/name +++ b/build/name @@ -39,6 +39,15 @@ namespace build bool pair {false}; }; + inline bool + operator== (const name& x, const name& y) + { + return x.type == y.type && x.dir == y.dir && x.value == y.value; + } + + inline bool + operator!= (const name& x, const name& y) {return !(x == y);} + typedef std::vector names; std::ostream& -- cgit v1.1