summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorExpression.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-07-21 17:02:22 (GMT)
committerBrad King <brad.king@kitware.com>2014-07-21 17:02:22 (GMT)
commit807e4ffeefb0e10ef0546e0eb7383f3d5533809b (patch)
tree0faa99cb8c0479245755fa2e4347ae47a91872ac /Source/cmGeneratorExpression.h
parent46099b82ed71394f1dc6e0bbb91704d274edab7d (diff)
downloadCMake-807e4ffeefb0e10ef0546e0eb7383f3d5533809b.zip
CMake-807e4ffeefb0e10ef0546e0eb7383f3d5533809b.tar.gz
CMake-807e4ffeefb0e10ef0546e0eb7383f3d5533809b.tar.bz2
Genex: Track whether an expression depends on the 'head' target
Diffstat (limited to 'Source/cmGeneratorExpression.h')
-rw-r--r--Source/cmGeneratorExpression.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmGeneratorExpression.h b/Source/cmGeneratorExpression.h
index 324d23c..b952520 100644
--- a/Source/cmGeneratorExpression.h
+++ b/Source/cmGeneratorExpression.h
@@ -111,6 +111,10 @@ public:
{
return this->HadContextSensitiveCondition;
}
+ bool GetHadHeadSensitiveCondition() const
+ {
+ return this->HadHeadSensitiveCondition;
+ }
void SetEvaluateForBuildsystem(bool eval)
{
@@ -141,6 +145,7 @@ private:
MaxLanguageStandard;
mutable std::string Output;
mutable bool HadContextSensitiveCondition;
+ mutable bool HadHeadSensitiveCondition;
bool EvaluateForBuildsystem;
};