|
@@ -178,7 +178,7 @@ cmVisualStudio10TargetGenerator(cmTarget* target,
|
|
|
this->LocalGenerator =
|
|
|
(cmLocalVisualStudio7Generator*)
|
|
|
this->GeneratorTarget->GetLocalGenerator();
|
|
|
- this->Name = this->Target->GetName();
|
|
|
+ this->Name = this->GeneratorTarget->GetName();
|
|
|
this->GUID = this->GlobalGenerator->GetGUID(this->Name.c_str());
|
|
|
this->Platform = gg->GetPlatformName();
|
|
|
this->NsightTegra = gg->IsNsightTegra();
|
|
@@ -1775,7 +1775,7 @@ void cmVisualStudio10TargetGenerator::WritePathAndIncrementalLinkOptions()
|
|
|
if(ttype == cmState::OBJECT_LIBRARY)
|
|
|
{
|
|
|
outDir = intermediateDir;
|
|
|
- targetNameFull = this->Target->GetName();
|
|
|
+ targetNameFull = this->GeneratorTarget->GetName();
|
|
|
targetNameFull += ".lib";
|
|
|
}
|
|
|
else
|
|
@@ -3325,7 +3325,8 @@ void cmVisualStudio10TargetGenerator::WriteMissingFilesWP80()
|
|
|
this->LocalGenerator->GetTargetDirectory(this->GeneratorTarget);
|
|
|
this->ConvertToWindowsSlash(artifactDir);
|
|
|
std::string artifactDirXML = cmVS10EscapeXML(artifactDir);
|
|
|
- std::string targetNameXML = cmVS10EscapeXML(this->Target->GetName());
|
|
|
+ std::string targetNameXML =
|
|
|
+ cmVS10EscapeXML(this->GeneratorTarget->GetName());
|
|
|
|
|
|
cmGeneratedFileStream fout(manifestFile.c_str());
|
|
|
fout.SetCopyIfDifferent(true);
|
|
@@ -3408,7 +3409,8 @@ void cmVisualStudio10TargetGenerator::WriteMissingFilesWP81()
|
|
|
this->LocalGenerator->GetTargetDirectory(this->GeneratorTarget);
|
|
|
this->ConvertToWindowsSlash(artifactDir);
|
|
|
std::string artifactDirXML = cmVS10EscapeXML(artifactDir);
|
|
|
- std::string targetNameXML = cmVS10EscapeXML(this->Target->GetName());
|
|
|
+ std::string targetNameXML =
|
|
|
+ cmVS10EscapeXML(this->GeneratorTarget->GetName());
|
|
|
|
|
|
cmGeneratedFileStream fout(manifestFile.c_str());
|
|
|
fout.SetCopyIfDifferent(true);
|
|
@@ -3468,7 +3470,8 @@ void cmVisualStudio10TargetGenerator::WriteMissingFilesWS80()
|
|
|
this->LocalGenerator->GetTargetDirectory(this->GeneratorTarget);
|
|
|
this->ConvertToWindowsSlash(artifactDir);
|
|
|
std::string artifactDirXML = cmVS10EscapeXML(artifactDir);
|
|
|
- std::string targetNameXML = cmVS10EscapeXML(this->Target->GetName());
|
|
|
+ std::string targetNameXML =
|
|
|
+ cmVS10EscapeXML(this->GeneratorTarget->GetName());
|
|
|
|
|
|
cmGeneratedFileStream fout(manifestFile.c_str());
|
|
|
fout.SetCopyIfDifferent(true);
|
|
@@ -3520,7 +3523,8 @@ void cmVisualStudio10TargetGenerator::WriteMissingFilesWS81()
|
|
|
this->LocalGenerator->GetTargetDirectory(this->GeneratorTarget);
|
|
|
this->ConvertToWindowsSlash(artifactDir);
|
|
|
std::string artifactDirXML = cmVS10EscapeXML(artifactDir);
|
|
|
- std::string targetNameXML = cmVS10EscapeXML(this->Target->GetName());
|
|
|
+ std::string targetNameXML =
|
|
|
+ cmVS10EscapeXML(this->GeneratorTarget->GetName());
|
|
|
|
|
|
cmGeneratedFileStream fout(manifestFile.c_str());
|
|
|
fout.SetCopyIfDifferent(true);
|
|
@@ -3577,7 +3581,8 @@ void cmVisualStudio10TargetGenerator::WriteMissingFilesWS10_0()
|
|
|
this->LocalGenerator->GetTargetDirectory(this->GeneratorTarget);
|
|
|
this->ConvertToWindowsSlash(artifactDir);
|
|
|
std::string artifactDirXML = cmVS10EscapeXML(artifactDir);
|
|
|
- std::string targetNameXML = cmVS10EscapeXML(this->Target->GetName());
|
|
|
+ std::string targetNameXML =
|
|
|
+ cmVS10EscapeXML(this->GeneratorTarget->GetName());
|
|
|
|
|
|
cmGeneratedFileStream fout(manifestFile.c_str());
|
|
|
fout.SetCopyIfDifferent(true);
|