diff options
author | Stephen Kelly <steveire@gmail.com> | 2012-10-15 08:27:42 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-10-17 20:23:32 (GMT) |
commit | 79edd00235091475d5b3f1305bcf991cad3e45f4 (patch) | |
tree | b5fdf3e6f79f0ffe275b404a66c9780c6d2800a4 /Source/cmGeneratorExpression.h | |
parent | f7ef32b00b8d4fe74bfdcee3e690309e9a89e251 (diff) | |
download | CMake-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.h | 7 |
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 &); |