summaryrefslogtreecommitdiff
path: root/Source/cmGeneratorExpression.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2012-10-15 10:27:42 +0200
committerBrad King <brad.king@kitware.com>2012-10-17 16:23:32 -0400
commit79edd00235091475d5b3f1305bcf991cad3e45f4 (patch)
treeb5fdf3e6f79f0ffe275b404a66c9780c6d2800a4 /Source/cmGeneratorExpression.h
parentf7ef32b00b8d4fe74bfdcee3e690309e9a89e251 (diff)
downloadcmake-79edd00235091475d5b3f1305bcf991cad3e45f4.tar.gz
GenEx: Fix reporting about not-found include directories and libraries.
This fixes a regression introduced in commit 290e92ad (Move GetIncludeDirectories to cmGeneratorTarget, 2012-09-16) which loops over cmGeneratorTargets before they get created, so the container is empty.
Diffstat (limited to 'Source/cmGeneratorExpression.h')
-rw-r--r--Source/cmGeneratorExpression.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmGeneratorExpression.h b/Source/cmGeneratorExpression.h
index d37ce97d3b..29d3f444f6 100644
--- a/Source/cmGeneratorExpression.h
+++ b/Source/cmGeneratorExpression.h
@@ -48,6 +48,13 @@ public:
const cmCompiledGeneratorExpression& Parse(std::string const& input);
const cmCompiledGeneratorExpression& Parse(const char* input);
+ enum PreprocessContext {
+ StripAllGeneratorExpressions
+ };
+
+ static std::string Preprocess(const std::string &input,
+ PreprocessContext context);
+
private:
cmGeneratorExpression(const cmGeneratorExpression &);
void operator=(const cmGeneratorExpression &);