summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-10-06 14:08:04 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-10-06 14:08:04 (GMT)
commit1aaace3e54e5da05b68f246899e125e4ba1ce29e (patch)
tree33113e9165694abf7a1a6355e29abdf7ad4fd172
parentb12affd78578247678ca25e1b9711625c6c60268 (diff)
parent646d01da9536d2db912a80f7d45ba289d8c89295 (diff)
downloadCMake-1aaace3e54e5da05b68f246899e125e4ba1ce29e.zip
CMake-1aaace3e54e5da05b68f246899e125e4ba1ce29e.tar.gz
CMake-1aaace3e54e5da05b68f246899e125e4ba1ce29e.tar.bz2
Merge topic 'fix-VS-resources-pri-path'
646d01da VS: Use absolute target-specific directory for `resources.pri`
-rw-r--r--Source/cmVisualStudio10TargetGenerator.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx
index d81f59d..6690bfa 100644
--- a/Source/cmVisualStudio10TargetGenerator.cxx
+++ b/Source/cmVisualStudio10TargetGenerator.cxx
@@ -2736,8 +2736,10 @@ void cmVisualStudio10TargetGenerator::WriteWinRTPackageCertificateKeyFile()
(*this->BuildFileStream) << cmVS10EscapeXML(artifactDir)
<< "\\</AppxPackageArtifactsDir>\n";
this->WriteString("<ProjectPriFullPath>", 2);
- (*this->BuildFileStream) << cmVS10EscapeXML(artifactDir)
- << "\\resources.pri</ProjectPriFullPath>\n";
+ std::string resourcePriFile =
+ this->DefaultArtifactDir + "/resources.pri";
+ this->ConvertToWindowsSlash(resourcePriFile);
+ (*this->BuildFileStream) << resourcePriFile << "</ProjectPriFullPath>\n";
// If we are missing files and we don't have a certificate and
// aren't targeting WP8.0, add a default certificate