summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorExpressionEvaluator.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-03-04 22:53:22 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-03-10 23:12:56 (GMT)
commit082b6a9d78c6198dc7a9891615930c40a5c3b967 (patch)
tree52c12b8992415b533877e76fe8f6ad2e4ec6171e /Source/cmGeneratorExpressionEvaluator.h
parent9df1f0fce19d893b75108fa29eb06cf6b2ce4997 (diff)
downloadCMake-082b6a9d78c6198dc7a9891615930c40a5c3b967.zip
CMake-082b6a9d78c6198dc7a9891615930c40a5c3b967.tar.gz
CMake-082b6a9d78c6198dc7a9891615930c40a5c3b967.tar.bz2
Genex: Split cmGeneratorExpressionContext into own file.
Diffstat (limited to 'Source/cmGeneratorExpressionEvaluator.h')
-rw-r--r--Source/cmGeneratorExpressionEvaluator.h29
1 files changed, 1 insertions, 28 deletions
diff --git a/Source/cmGeneratorExpressionEvaluator.h b/Source/cmGeneratorExpressionEvaluator.h
index b1fec0b..7c1bd8c 100644
--- a/Source/cmGeneratorExpressionEvaluator.h
+++ b/Source/cmGeneratorExpressionEvaluator.h
@@ -16,37 +16,10 @@
#include <string>
#include "cmListFileCache.h"
+#include "cmGeneratorExpressionContext.h"
class cmTarget;
-//----------------------------------------------------------------------------
-struct cmGeneratorExpressionContext
-{
- cmGeneratorExpressionContext()
- : Backtrace(NULL)
- {
- }
-
- cmListFileBacktrace Backtrace;
- std::set<cmTarget*> DependTargets;
- std::set<cmTarget const*> AllTargets;
- std::set<std::string> SeenTargetProperties;
- std::set<cmTarget const*> SourceSensitiveTargets;
- std::map<cmTarget const*, std::map<std::string, std::string> >
- MaxLanguageStandard;
- cmMakefile *Makefile;
- std::string Config;
- std::string Language;
- cmTarget const* HeadTarget; // The target whose property is being evaluated.
- cmTarget const* CurrentTarget; // The dependent of HeadTarget which appears
- // directly or indirectly in the property.
- bool Quiet;
- bool HadError;
- bool HadContextSensitiveCondition;
- bool HadHeadSensitiveCondition;
- bool EvaluateForBuildsystem;
-};
-
struct cmGeneratorExpressionDAGChecker;
struct cmGeneratorExpressionNode;