summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorExpressionEvaluator.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-02-03 06:33:15 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-02-03 22:04:03 (GMT)
commite48d84209cde93b43fcfb305897b4f52cd18a55f (patch)
tree54d2722367a8d32055e20ebc23d8a8f3f5451ef2 /Source/cmGeneratorExpressionEvaluator.h
parent089fe1c13d8fa73be5182162a855c17351d1f918 (diff)
downloadCMake-e48d84209cde93b43fcfb305897b4f52cd18a55f.zip
CMake-e48d84209cde93b43fcfb305897b4f52cd18a55f.tar.gz
CMake-e48d84209cde93b43fcfb305897b4f52cd18a55f.tar.bz2
Cache context-independent includes on evaluation.
Generator expressions whose output depends on the configuration now record that fact. The GetIncludeDirectories method can use that result to cache the include directories for later calls. GetIncludeDirectories is called multiple times for a target for each configuration, so this should restore performance for multi-config generators.
Diffstat (limited to 'Source/cmGeneratorExpressionEvaluator.h')
-rw-r--r--Source/cmGeneratorExpressionEvaluator.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmGeneratorExpressionEvaluator.h b/Source/cmGeneratorExpressionEvaluator.h
index fb6c7ee..37d5c86 100644
--- a/Source/cmGeneratorExpressionEvaluator.h
+++ b/Source/cmGeneratorExpressionEvaluator.h
@@ -32,6 +32,7 @@ struct cmGeneratorExpressionContext
// directly or indirectly in the property.
bool Quiet;
bool HadError;
+ bool HadContextSensitiveCondition;
};
struct cmGeneratorExpressionDAGChecker;