summaryrefslogtreecommitdiff
path: root/Source/cmGeneratorExpression.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-12-08 13:32:09 -0500
committerBrad King <brad.king@kitware.com>2010-12-15 14:53:39 -0500
commitef9e9de0b80a08bb9290fce3816ff621d2ff3419 (patch)
tree577266411f6d37996a14e4b09d91c516c7b9f1ec /Source/cmGeneratorExpression.h
parent45e1953c4037d4492668651ae3bbfd6a4a875bc1 (diff)
downloadcmake-ef9e9de0b80a08bb9290fce3816ff621d2ff3419.tar.gz
Optionally suppress errors in cmGeneratorExpression
Diffstat (limited to 'Source/cmGeneratorExpression.h')
-rw-r--r--Source/cmGeneratorExpression.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmGeneratorExpression.h b/Source/cmGeneratorExpression.h
index aa36055a34..9bed780d44 100644
--- a/Source/cmGeneratorExpression.h
+++ b/Source/cmGeneratorExpression.h
@@ -32,7 +32,8 @@ class cmGeneratorExpression
public:
/** Construct with an evaluation context and configuration. */
cmGeneratorExpression(cmMakefile* mf, const char* config,
- cmListFileBacktrace const& backtrace);
+ cmListFileBacktrace const& backtrace,
+ bool quiet = false);
/** Evaluate generator expressions in a string. */
const char* Process(std::string const& input);
@@ -41,6 +42,7 @@ private:
cmMakefile* Makefile;
const char* Config;
cmListFileBacktrace const& Backtrace;
+ bool Quiet;
std::vector<char> Data;
std::stack<size_t> Barriers;
cmsys::RegularExpression TargetInfo;