diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-10 16:41:51 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-15 20:40:56 (GMT) |
commit | c4ae157865291d73113f81d4c9a9c2dd86598efc (patch) | |
tree | 8163dbedec892a7ea48b3548a9b17a954705e10c /Source/cmGeneratorExpressionNode.cxx | |
parent | 6d27a3dbfbfb8852d8b8ff5c6fc7432eebc604e5 (diff) | |
download | CMake-c4ae157865291d73113f81d4c9a9c2dd86598efc.zip CMake-c4ae157865291d73113f81d4c9a9c2dd86598efc.tar.gz CMake-c4ae157865291d73113f81d4c9a9c2dd86598efc.tar.bz2 |
Genex: Port some access API to cmGeneratorTarget.
Diffstat (limited to 'Source/cmGeneratorExpressionNode.cxx')
-rw-r--r-- | Source/cmGeneratorExpressionNode.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/cmGeneratorExpressionNode.cxx b/Source/cmGeneratorExpressionNode.cxx index dcb1c5c..8521a15 100644 --- a/Source/cmGeneratorExpressionNode.cxx +++ b/Source/cmGeneratorExpressionNode.cxx @@ -964,7 +964,7 @@ static const struct TargetPropertyNode : public cmGeneratorExpressionNode reportError(context, content->GetOriginalExpression(), e.str()); return std::string(); } - context->AllTargets.insert(target->Target); + context->AllTargets.insert(target); } if (target == context->HeadTarget) @@ -977,7 +977,7 @@ static const struct TargetPropertyNode : public cmGeneratorExpressionNode } if (propertyName == "SOURCES") { - context->SourceSensitiveTargets.insert(target->Target); + context->SourceSensitiveTargets.insert(target); } if (propertyName.empty()) @@ -1412,7 +1412,7 @@ static const struct CompileFeaturesNode : public cmGeneratorExpressionNode l = standardDefault; } assert(l); - context->MaxLanguageStandard[target->Target][lit->first] = l; + context->MaxLanguageStandard[target][lit->first] = l; } else { @@ -1756,8 +1756,8 @@ struct TargetFilesystemArtifact : public cmGeneratorExpressionNode "be used while evaluating link libraries"); return std::string(); } - context->DependTargets.insert(target->Target); - context->AllTargets.insert(target->Target); + context->DependTargets.insert(target); + context->AllTargets.insert(target); std::string result = TargetFilesystemArtifactResultCreator<ArtifactT>::Create( |