diff options
author | Stephen Kelly <steveire@gmail.com> | 2012-09-18 11:42:23 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-09-28 12:49:21 (GMT) |
commit | 7e807472d2b17d40c702ff91c7255eca04a64ebe (patch) | |
tree | 61dc894fc58d4ff8878947e2d50d4aea9618adfd /Source/cmGeneratorExpression.h | |
parent | 239ac841538be536e70cbddb2b04bef2b342a2e5 (diff) | |
download | CMake-7e807472d2b17d40c702ff91c7255eca04a64ebe.zip CMake-7e807472d2b17d40c702ff91c7255eca04a64ebe.tar.gz CMake-7e807472d2b17d40c702ff91c7255eca04a64ebe.tar.bz2 |
Add API to check that dependent target properties form a DAG.
Initially this will only be used to check for self-references, but
can be extended to check for cycles when chaining properties of other
targets.
Diffstat (limited to 'Source/cmGeneratorExpression.h')
-rw-r--r-- | Source/cmGeneratorExpression.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmGeneratorExpression.h b/Source/cmGeneratorExpression.h index fdf45a1..d37ce97 100644 --- a/Source/cmGeneratorExpression.h +++ b/Source/cmGeneratorExpression.h @@ -25,6 +25,7 @@ class cmMakefile; class cmListFileBacktrace; struct cmGeneratorExpressionEvaluator; +struct cmGeneratorExpressionDAGChecker; class cmCompiledGeneratorExpression; @@ -60,7 +61,8 @@ class cmCompiledGeneratorExpression public: const char* Evaluate(cmMakefile* mf, const char* config, bool quiet = false, - cmGeneratorTarget *target = 0) const; + cmGeneratorTarget *target = 0, + cmGeneratorExpressionDAGChecker *dagChecker = 0) const; /** Get set of targets found during evaluations. */ std::set<cmTarget*> const& GetTargets() const |