|
@@ -196,7 +196,7 @@ cmVisualStudio10TargetGenerator(cmTarget* target,
|
|
|
this->IsMissingFiles = false;
|
|
this->IsMissingFiles = false;
|
|
|
this->DefaultArtifactDir =
|
|
this->DefaultArtifactDir =
|
|
|
this->LocalGenerator->GetCurrentBinaryDirectory() + std::string("/") +
|
|
this->LocalGenerator->GetCurrentBinaryDirectory() + std::string("/") +
|
|
|
- this->LocalGenerator->GetTargetDirectory(*this->Target);
|
|
|
|
|
|
|
+ this->LocalGenerator->GetTargetDirectory(this->GeneratorTarget);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
cmVisualStudio10TargetGenerator::~cmVisualStudio10TargetGenerator()
|
|
cmVisualStudio10TargetGenerator::~cmVisualStudio10TargetGenerator()
|
|
@@ -1765,7 +1765,7 @@ void cmVisualStudio10TargetGenerator::WritePathAndIncrementalLinkOptions()
|
|
|
else
|
|
else
|
|
|
{
|
|
{
|
|
|
std::string intermediateDir = this->LocalGenerator->
|
|
std::string intermediateDir = this->LocalGenerator->
|
|
|
- GetTargetDirectory(*this->Target);
|
|
|
|
|
|
|
+ GetTargetDirectory(this->GeneratorTarget);
|
|
|
intermediateDir += "/";
|
|
intermediateDir += "/";
|
|
|
intermediateDir += *config;
|
|
intermediateDir += *config;
|
|
|
intermediateDir += "/";
|
|
intermediateDir += "/";
|
|
@@ -3021,7 +3021,7 @@ void cmVisualStudio10TargetGenerator::WriteWinRTPackageCertificateKeyFile()
|
|
|
{
|
|
{
|
|
|
// Move the manifest to a project directory to avoid clashes
|
|
// Move the manifest to a project directory to avoid clashes
|
|
|
std::string artifactDir =
|
|
std::string artifactDir =
|
|
|
- this->LocalGenerator->GetTargetDirectory(*this->Target);
|
|
|
|
|
|
|
+ this->LocalGenerator->GetTargetDirectory(this->GeneratorTarget);
|
|
|
this->ConvertToWindowsSlash(artifactDir);
|
|
this->ConvertToWindowsSlash(artifactDir);
|
|
|
this->WriteString("<PropertyGroup>\n", 1);
|
|
this->WriteString("<PropertyGroup>\n", 1);
|
|
|
this->WriteString("<AppxPackageArtifactsDir>", 2);
|
|
this->WriteString("<AppxPackageArtifactsDir>", 2);
|
|
@@ -3320,7 +3320,7 @@ void cmVisualStudio10TargetGenerator::WriteMissingFilesWP80()
|
|
|
this->LocalGenerator->GetCurrentBinaryDirectory() +
|
|
this->LocalGenerator->GetCurrentBinaryDirectory() +
|
|
|
std::string("/WMAppManifest.xml");
|
|
std::string("/WMAppManifest.xml");
|
|
|
std::string artifactDir =
|
|
std::string artifactDir =
|
|
|
- this->LocalGenerator->GetTargetDirectory(*this->Target);
|
|
|
|
|
|
|
+ this->LocalGenerator->GetTargetDirectory(this->GeneratorTarget);
|
|
|
this->ConvertToWindowsSlash(artifactDir);
|
|
this->ConvertToWindowsSlash(artifactDir);
|
|
|
std::string artifactDirXML = cmVS10EscapeXML(artifactDir);
|
|
std::string artifactDirXML = cmVS10EscapeXML(artifactDir);
|
|
|
std::string targetNameXML = cmVS10EscapeXML(this->Target->GetName());
|
|
std::string targetNameXML = cmVS10EscapeXML(this->Target->GetName());
|
|
@@ -3403,7 +3403,7 @@ void cmVisualStudio10TargetGenerator::WriteMissingFilesWP81()
|
|
|
std::string manifestFile =
|
|
std::string manifestFile =
|
|
|
this->DefaultArtifactDir + "/package.appxManifest";
|
|
this->DefaultArtifactDir + "/package.appxManifest";
|
|
|
std::string artifactDir =
|
|
std::string artifactDir =
|
|
|
- this->LocalGenerator->GetTargetDirectory(*this->Target);
|
|
|
|
|
|
|
+ this->LocalGenerator->GetTargetDirectory(this->GeneratorTarget);
|
|
|
this->ConvertToWindowsSlash(artifactDir);
|
|
this->ConvertToWindowsSlash(artifactDir);
|
|
|
std::string artifactDirXML = cmVS10EscapeXML(artifactDir);
|
|
std::string artifactDirXML = cmVS10EscapeXML(artifactDir);
|
|
|
std::string targetNameXML = cmVS10EscapeXML(this->Target->GetName());
|
|
std::string targetNameXML = cmVS10EscapeXML(this->Target->GetName());
|
|
@@ -3463,7 +3463,7 @@ void cmVisualStudio10TargetGenerator::WriteMissingFilesWS80()
|
|
|
std::string manifestFile =
|
|
std::string manifestFile =
|
|
|
this->DefaultArtifactDir + "/package.appxManifest";
|
|
this->DefaultArtifactDir + "/package.appxManifest";
|
|
|
std::string artifactDir =
|
|
std::string artifactDir =
|
|
|
- this->LocalGenerator->GetTargetDirectory(*this->Target);
|
|
|
|
|
|
|
+ this->LocalGenerator->GetTargetDirectory(this->GeneratorTarget);
|
|
|
this->ConvertToWindowsSlash(artifactDir);
|
|
this->ConvertToWindowsSlash(artifactDir);
|
|
|
std::string artifactDirXML = cmVS10EscapeXML(artifactDir);
|
|
std::string artifactDirXML = cmVS10EscapeXML(artifactDir);
|
|
|
std::string targetNameXML = cmVS10EscapeXML(this->Target->GetName());
|
|
std::string targetNameXML = cmVS10EscapeXML(this->Target->GetName());
|
|
@@ -3515,7 +3515,7 @@ void cmVisualStudio10TargetGenerator::WriteMissingFilesWS81()
|
|
|
std::string manifestFile =
|
|
std::string manifestFile =
|
|
|
this->DefaultArtifactDir + "/package.appxManifest";
|
|
this->DefaultArtifactDir + "/package.appxManifest";
|
|
|
std::string artifactDir =
|
|
std::string artifactDir =
|
|
|
- this->LocalGenerator->GetTargetDirectory(*this->Target);
|
|
|
|
|
|
|
+ this->LocalGenerator->GetTargetDirectory(this->GeneratorTarget);
|
|
|
this->ConvertToWindowsSlash(artifactDir);
|
|
this->ConvertToWindowsSlash(artifactDir);
|
|
|
std::string artifactDirXML = cmVS10EscapeXML(artifactDir);
|
|
std::string artifactDirXML = cmVS10EscapeXML(artifactDir);
|
|
|
std::string targetNameXML = cmVS10EscapeXML(this->Target->GetName());
|
|
std::string targetNameXML = cmVS10EscapeXML(this->Target->GetName());
|
|
@@ -3572,7 +3572,7 @@ void cmVisualStudio10TargetGenerator::WriteMissingFilesWS10_0()
|
|
|
std::string manifestFile =
|
|
std::string manifestFile =
|
|
|
this->DefaultArtifactDir + "/package.appxManifest";
|
|
this->DefaultArtifactDir + "/package.appxManifest";
|
|
|
std::string artifactDir =
|
|
std::string artifactDir =
|
|
|
- this->LocalGenerator->GetTargetDirectory(*this->Target);
|
|
|
|
|
|
|
+ this->LocalGenerator->GetTargetDirectory(this->GeneratorTarget);
|
|
|
this->ConvertToWindowsSlash(artifactDir);
|
|
this->ConvertToWindowsSlash(artifactDir);
|
|
|
std::string artifactDirXML = cmVS10EscapeXML(artifactDir);
|
|
std::string artifactDirXML = cmVS10EscapeXML(artifactDir);
|
|
|
std::string targetNameXML = cmVS10EscapeXML(this->Target->GetName());
|
|
std::string targetNameXML = cmVS10EscapeXML(this->Target->GetName());
|