summaryrefslogtreecommitdiff
path: root/Source/cmGeneratorExpressionEvaluator.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2012-09-12 04:23:31 +0200
committerBrad King <brad.king@kitware.com>2012-09-28 08:49:21 -0400
commit239ac841538be536e70cbddb2b04bef2b342a2e5 (patch)
treec3a89391f87edea6ddbca9738ba28f6c5591d229 /Source/cmGeneratorExpressionEvaluator.h
parente028381bf1c5d1fdf464ed835a549be4a0569adb (diff)
downloadcmake-239ac841538be536e70cbddb2b04bef2b342a2e5.tar.gz
Add a generator expression for target properties.
There are two overloads, so that it can use the operational target when a target property is being evaluated, and a target can alternatively be specified by name. At this point, the generators don't chain. That comes later.
Diffstat (limited to 'Source/cmGeneratorExpressionEvaluator.h')
-rw-r--r--Source/cmGeneratorExpressionEvaluator.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/cmGeneratorExpressionEvaluator.h b/Source/cmGeneratorExpressionEvaluator.h
index 5163ca002d..4086e8e2ac 100644
--- a/Source/cmGeneratorExpressionEvaluator.h
+++ b/Source/cmGeneratorExpressionEvaluator.h
@@ -15,6 +15,11 @@
#include <vector>
#include <string>
+#include "cmListFileCache.h"
+
+class cmTarget;
+class cmGeneratorTarget;
+
//----------------------------------------------------------------------------
struct cmGeneratorExpressionContext
{
@@ -22,7 +27,7 @@ struct cmGeneratorExpressionContext
std::set<cmTarget*> Targets;
cmMakefile *Makefile;
const char *Config;
- cmTarget *Target;
+ cmGeneratorTarget *Target;
bool Quiet;
bool HadError;
};