mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 12:49:50 -05:00
VS: Add VS_SCC_AUXPATH target property (#12549)
Maps to SccAuxPath tag in VCPROJ files.
This commit is contained in:
committed by
David Cole
parent
5e1c2f81a7
commit
b0f0b3e440
@@ -182,7 +182,7 @@ void cmVisualStudio10TargetGenerator::Generate()
|
||||
const char* vsLocalPath = this->Target->GetProperty("VS_SCC_LOCALPATH");
|
||||
const char* vsProvider = this->Target->GetProperty("VS_SCC_PROVIDER");
|
||||
|
||||
if ( vsProjectName && vsLocalPath && vsProvider)
|
||||
if( vsProjectName && vsLocalPath && vsProvider )
|
||||
{
|
||||
this->WriteString("<SccProjectName>", 2);
|
||||
(*this->BuildFileStream) << cmVS10EscapeXML(vsProjectName) <<
|
||||
@@ -193,6 +193,14 @@ void cmVisualStudio10TargetGenerator::Generate()
|
||||
this->WriteString("<SccProvider>", 2);
|
||||
(*this->BuildFileStream) << cmVS10EscapeXML(vsProvider) <<
|
||||
"</SccProvider>\n";
|
||||
|
||||
const char* vsAuxPath = this->Target->GetProperty("VS_SCC_AUXPATH");
|
||||
if( vsAuxPath )
|
||||
{
|
||||
this->WriteString("<SccAuxPath>", 2);
|
||||
(*this->BuildFileStream) << cmVS10EscapeXML(vsAuxPath) <<
|
||||
"</SccAuxPath>\n";
|
||||
}
|
||||
}
|
||||
|
||||
this->WriteString("<Keyword>Win32Proj</Keyword>\n", 2);
|
||||
|
||||
Reference in New Issue
Block a user