VS: Use target-specific directory for `resources.pri`
Set the `ProjectPriFullPath` field to a value that is unique to each target and not shared with others in order to avoid collisions. Closes: #16106
This commit is contained in:
parent
00a583ac68
commit
f325ae186d
|
@ -2741,9 +2741,9 @@ void cmVisualStudio10TargetGenerator::WriteWinRTPackageCertificateKeyFile()
|
||||||
this->WriteString("<AppxPackageArtifactsDir>", 2);
|
this->WriteString("<AppxPackageArtifactsDir>", 2);
|
||||||
(*this->BuildFileStream) << cmVS10EscapeXML(artifactDir)
|
(*this->BuildFileStream) << cmVS10EscapeXML(artifactDir)
|
||||||
<< "\\</AppxPackageArtifactsDir>\n";
|
<< "\\</AppxPackageArtifactsDir>\n";
|
||||||
this->WriteString("<ProjectPriFullPath>"
|
this->WriteString("<ProjectPriFullPath>", 2);
|
||||||
"$(TargetDir)resources.pri</ProjectPriFullPath>\n",
|
(*this->BuildFileStream) << cmVS10EscapeXML(artifactDir)
|
||||||
2);
|
<< "\\resources.pri</ProjectPriFullPath>\n";
|
||||||
|
|
||||||
// If we are missing files and we don't have a certificate and
|
// If we are missing files and we don't have a certificate and
|
||||||
// aren't targeting WP8.0, add a default certificate
|
// aren't targeting WP8.0, add a default certificate
|
||||||
|
|
Loading…
Reference in New Issue