summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorExpressionEvaluator.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2012-09-12 02:23:31 (GMT)
committerBrad King <brad.king@kitware.com>2012-09-28 12:49:21 (GMT)
commit239ac841538be536e70cbddb2b04bef2b342a2e5 (patch)
treec3a89391f87edea6ddbca9738ba28f6c5591d229 /Source/cmGeneratorExpressionEvaluator.h
parente028381bf1c5d1fdf464ed835a549be4a0569adb (diff)
downloadCMake-239ac841538be536e70cbddb2b04bef2b342a2e5.zip
CMake-239ac841538be536e70cbddb2b04bef2b342a2e5.tar.gz
CMake-239ac841538be536e70cbddb2b04bef2b342a2e5.tar.bz2
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 5163ca0..4086e8e 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;
};