summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudio10TargetGenerator.cxx
diff options
context:
space:
mode:
authorRobert Dailey <rcdailey@gmail.com>2011-11-01 00:04:08 (GMT)
committerDavid Cole <david.cole@kitware.com>2011-11-01 15:29:08 (GMT)
commitb0f0b3e4405cb663fd5757441f556ee6cd3fac8c (patch)
tree91dcde865fa16ca629a778a06741ac327f27ec17 /Source/cmVisualStudio10TargetGenerator.cxx
parent5e1c2f81a76943cce994f133fca71966aa35c1b4 (diff)
downloadCMake-b0f0b3e4405cb663fd5757441f556ee6cd3fac8c.zip
CMake-b0f0b3e4405cb663fd5757441f556ee6cd3fac8c.tar.gz
CMake-b0f0b3e4405cb663fd5757441f556ee6cd3fac8c.tar.bz2
VS: Add VS_SCC_AUXPATH target property (#12549)
Maps to SccAuxPath tag in VCPROJ files.
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r--Source/cmVisualStudio10TargetGenerator.cxx10
1 files changed, 9 insertions, 1 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx
index 551b0ad..45a79c8 100644
--- a/Source/cmVisualStudio10TargetGenerator.cxx
+++ b/Source/cmVisualStudio10TargetGenerator.cxx
@@ -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);