summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileTargetGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-10-14 17:35:57 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-10-14 17:35:57 (GMT)
commitff6ae3ecfc2ab421dccb9e50d78162e0b1c389ba (patch)
tree667dcc41f74ca7c4c541a051219c398f544d6eac /Source/cmMakefileTargetGenerator.cxx
parent2380896a056a29f22dd440369f4ab30137306ab9 (diff)
parent1fdccff5894914d4408e64c0b55e52c376e64ad4 (diff)
downloadCMake-ff6ae3ecfc2ab421dccb9e50d78162e0b1c389ba.zip
CMake-ff6ae3ecfc2ab421dccb9e50d78162e0b1c389ba.tar.gz
CMake-ff6ae3ecfc2ab421dccb9e50d78162e0b1c389ba.tar.bz2
Merge topic 'use-generator-target'
1fdccff5 Genex: Port implementation detail to cmGeneratorTarget. ce75c86e cmGeneratorTarget: Move GetSupportDirectory from cmTarget. 526cc7dc cmGeneratorTarget: Move HasImportLibrary from cmTarget. 8d2e3e53 cmGeneratorTarget: Move HasImplibGNUtoMS from cmTarget. a143d4ac Sublime: Port some API to cmGeneratorTarget. 993aace7 cmGeneratorTarget: Port processILibs to cmGeneratorTarget. 43ade995 cmGeneratorTarget: Port getTypedProperty to cmGeneratorTarget. 5fd2f43f cmGeneratorTarget: Port handleSystemIncludesDep to cmGeneratorTarget. f7acd742 cmGeneratorTarget: Port LinkImplClosure to cmGeneratorTarget. 763f7b19 cmCommonTargetGenerator: Port implementation detail to cmGeneratorTarget. ceb35b63 cmLinkItem: Port to cmGeneratorTarget. bf2d061a cmGeneratorTarget: Move FindTargetToLink from cmTarget. 61c02dec cmHeadToLinkInterfaceMap: Port to cmGeneratorTarget. 9ca4cae5 cmGeneratorTarget: Move GetUtilityItems from cmTarget. d6b394ed cmComputeLinkDepends: Port result API to cmGeneratorTarget. 7c8236ef cmComputeLinkInformation: Port result API to cmGeneratorTarget. ...
Diffstat (limited to 'Source/cmMakefileTargetGenerator.cxx')
-rw-r--r--Source/cmMakefileTargetGenerator.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx
index f17f66d..4ddcac6 100644
--- a/Source/cmMakefileTargetGenerator.cxx
+++ b/Source/cmMakefileTargetGenerator.cxx
@@ -557,7 +557,8 @@ cmMakefileTargetGenerator
this->GeneratorTarget->GetCompilePDBPath(this->ConfigName);
if(targetFullPathCompilePDB.empty())
{
- targetFullPathCompilePDB = this->Target->GetSupportDirectory() + "/";
+ targetFullPathCompilePDB =
+ this->GeneratorTarget->GetSupportDirectory() + "/";
}
}
@@ -594,7 +595,7 @@ cmMakefileTargetGenerator
cmLocalGenerator::NONE,
cmLocalGenerator::SHELL);
vars.Object = shellObj.c_str();
- std::string objectDir = this->Target->GetSupportDirectory();
+ std::string objectDir = this->GeneratorTarget->GetSupportDirectory();
objectDir = this->Convert(objectDir,
cmLocalGenerator::START_OUTPUT,
cmLocalGenerator::SHELL);
@@ -1517,7 +1518,7 @@ std::string cmMakefileTargetGenerator::GetLinkRule(
const std::string& linkRuleVar)
{
std::string linkRule = this->Makefile->GetRequiredDefinition(linkRuleVar);
- if(this->Target->HasImplibGNUtoMS())
+ if(this->GeneratorTarget->HasImplibGNUtoMS())
{
std::string ruleVar = "CMAKE_";
ruleVar += this->GeneratorTarget->GetLinkerLanguage(this->ConfigName);