summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorExpressionDAGChecker.h
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2020-04-13 15:49:12 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2020-04-18 09:29:43 (GMT)
commit38332fc4facce48d6eaefdf55886a3e1eb85e659 (patch)
tree0f53db8e52d346805c44b0b073d3314f1b9f5de2 /Source/cmGeneratorExpressionDAGChecker.h
parent40d17356811dcf9e525e6adf7bd723ee8c678ebe (diff)
downloadCMake-38332fc4facce48d6eaefdf55886a3e1eb85e659.zip
CMake-38332fc4facce48d6eaefdf55886a3e1eb85e659.tar.gz
CMake-38332fc4facce48d6eaefdf55886a3e1eb85e659.tar.bz2
cmGeneratorExpressionDAGChecker: introduce method Top()
Diffstat (limited to 'Source/cmGeneratorExpressionDAGChecker.h')
-rw-r--r--Source/cmGeneratorExpressionDAGChecker.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/Source/cmGeneratorExpressionDAGChecker.h b/Source/cmGeneratorExpressionDAGChecker.h
index 2a06596..b58df03 100644
--- a/Source/cmGeneratorExpressionDAGChecker.h
+++ b/Source/cmGeneratorExpressionDAGChecker.h
@@ -66,10 +66,11 @@ struct cmGeneratorExpressionDAGChecker
void ReportError(cmGeneratorExpressionContext* context,
const std::string& expr);
- bool EvaluatingGenexExpression();
- bool EvaluatingPICExpression();
- bool EvaluatingLinkExpression();
- bool EvaluatingLinkLibraries(cmGeneratorTarget const* tgt = nullptr);
+ bool EvaluatingGenexExpression() const;
+ bool EvaluatingPICExpression() const;
+ bool EvaluatingLinkExpression() const;
+
+ bool EvaluatingLinkLibraries(cmGeneratorTarget const* tgt = nullptr) const;
#define DECLARE_TRANSITIVE_PROPERTY_METHOD(METHOD) bool METHOD() const;
@@ -77,9 +78,10 @@ struct cmGeneratorExpressionDAGChecker
#undef DECLARE_TRANSITIVE_PROPERTY_METHOD
- bool GetTransitivePropertiesOnly();
+ bool GetTransitivePropertiesOnly() const;
void SetTransitivePropertiesOnly() { this->TransitivePropertiesOnly = true; }
+ cmGeneratorExpressionDAGChecker const* Top() const;
cmGeneratorTarget const* TopTarget() const;
private: