summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorExpression.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-10 16:41:51 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-15 20:40:56 (GMT)
commitc4ae157865291d73113f81d4c9a9c2dd86598efc (patch)
tree8163dbedec892a7ea48b3548a9b17a954705e10c /Source/cmGeneratorExpression.cxx
parent6d27a3dbfbfb8852d8b8ff5c6fc7432eebc604e5 (diff)
downloadCMake-c4ae157865291d73113f81d4c9a9c2dd86598efc.zip
CMake-c4ae157865291d73113f81d4c9a9c2dd86598efc.tar.gz
CMake-c4ae157865291d73113f81d4c9a9c2dd86598efc.tar.bz2
Genex: Port some access API to cmGeneratorTarget.
Diffstat (limited to 'Source/cmGeneratorExpression.cxx')
-rw-r--r--Source/cmGeneratorExpression.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmGeneratorExpression.cxx b/Source/cmGeneratorExpression.cxx
index d9f67f2..6796a01 100644
--- a/Source/cmGeneratorExpression.cxx
+++ b/Source/cmGeneratorExpression.cxx
@@ -11,10 +11,9 @@
============================================================================*/
#include "cmGeneratorExpression.h"
-#include "cmMakefile.h"
-#include "cmTarget.h"
#include "assert.h"
#include "cmAlgorithms.h"
+#include "cmSystemTools.h"
#include "cmGeneratorExpressionEvaluator.h"
#include "cmGeneratorExpressionLexer.h"
@@ -463,10 +462,11 @@ bool cmGeneratorExpression::IsValidTargetName(const std::string &input)
//----------------------------------------------------------------------------
void
-cmCompiledGeneratorExpression::GetMaxLanguageStandard(cmTarget const* tgt,
+cmCompiledGeneratorExpression::GetMaxLanguageStandard(
+ const cmGeneratorTarget* tgt,
std::map<std::string, std::string>& mapping)
{
- typedef std::map<cmTarget const*,
+ typedef std::map<cmGeneratorTarget const*,
std::map<std::string, std::string> > MapType;
MapType::const_iterator it = this->MaxLanguageStandard.find(tgt);
if (it != this->MaxLanguageStandard.end())