Merge topic 'vs-resource-pri-dir'

f325ae18 VS: Use target-specific directory for `resources.pri`
This commit is contained in:
Brad King 2016-08-26 09:45:28 -04:00 committed by CMake Topic Stage
commit da7111e1a3
1 changed files with 3 additions and 3 deletions

View File

@ -2741,9 +2741,9 @@ void cmVisualStudio10TargetGenerator::WriteWinRTPackageCertificateKeyFile()
this->WriteString("<AppxPackageArtifactsDir>", 2);
(*this->BuildFileStream) << cmVS10EscapeXML(artifactDir)
<< "\\</AppxPackageArtifactsDir>\n";
this->WriteString("<ProjectPriFullPath>"
"$(TargetDir)resources.pri</ProjectPriFullPath>\n",
2);
this->WriteString("<ProjectPriFullPath>", 2);
(*this->BuildFileStream) << cmVS10EscapeXML(artifactDir)
<< "\\resources.pri</ProjectPriFullPath>\n";
// If we are missing files and we don't have a certificate and
// aren't targeting WP8.0, add a default certificate