summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorExpression.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2012-10-15 08:27:42 (GMT)
committerBrad King <brad.king@kitware.com>2012-10-17 20:23:32 (GMT)
commit79edd00235091475d5b3f1305bcf991cad3e45f4 (patch)
treeb5fdf3e6f79f0ffe275b404a66c9780c6d2800a4 /Source/cmGeneratorExpression.h
parentf7ef32b00b8d4fe74bfdcee3e690309e9a89e251 (diff)
downloadCMake-79edd00235091475d5b3f1305bcf991cad3e45f4.zip
CMake-79edd00235091475d5b3f1305bcf991cad3e45f4.tar.gz
CMake-79edd00235091475d5b3f1305bcf991cad3e45f4.tar.bz2
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 d37ce97..29d3f44 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 &);