diff options
author | Robert Dailey <rcdailey@gmail.com> | 2011-11-01 00:04:08 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2011-11-01 15:29:08 (GMT) |
commit | b0f0b3e4405cb663fd5757441f556ee6cd3fac8c (patch) | |
tree | 91dcde865fa16ca629a778a06741ac327f27ec17 /Source/cmLocalVisualStudio7Generator.cxx | |
parent | 5e1c2f81a76943cce994f133fca71966aa35c1b4 (diff) | |
download | CMake-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/cmLocalVisualStudio7Generator.cxx')
-rw-r--r-- | Source/cmLocalVisualStudio7Generator.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx index d9b2772..ae70759 100644 --- a/Source/cmLocalVisualStudio7Generator.cxx +++ b/Source/cmLocalVisualStudio7Generator.cxx @@ -1811,11 +1811,18 @@ void cmLocalVisualStudio7Generator::WriteProjectSCC(std::ostream& fout, const char* vsProjectname = target.GetProperty("VS_SCC_PROJECTNAME"); const char* vsLocalpath = target.GetProperty("VS_SCC_LOCALPATH"); const char* vsProvider = target.GetProperty("VS_SCC_PROVIDER"); + if(vsProvider && vsLocalpath && vsProjectname) { fout << "\tSccProjectName=\"" << vsProjectname << "\"\n" << "\tSccLocalPath=\"" << vsLocalpath << "\"\n" << "\tSccProvider=\"" << vsProvider << "\"\n"; + + const char* vsAuxPath = target.GetProperty("VS_SCC_AUXPATH"); + if(vsAuxPath) + { + fout << "\tSccAuxPath=\"" << vsAuxPath << "\"\n"; + } } } |