diff options
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r-- | Source/cmLocalVisualStudio7Generator.cxx | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx index a912931..1c144e2 100644 --- a/Source/cmLocalVisualStudio7Generator.cxx +++ b/Source/cmLocalVisualStudio7Generator.cxx @@ -1355,6 +1355,12 @@ void cmLocalVisualStudio7Generator { if(!init) { + const char* comment = cr->GetComment(); + if(comment && *comment) + { + fout << "\nDescription=\"" + << this->EscapeForXML(comment) << "\""; + } fout << "\nCommandLine=\""; init = true; } @@ -1385,6 +1391,12 @@ void cmLocalVisualStudio7Generator { if(!init) { + const char* comment = cr->GetComment(); + if(comment && *comment) + { + fout << "\nDescription=\"" + << this->EscapeForXML(comment) << "\""; + } fout << "\nCommandLine=\""; init = true; } @@ -1415,6 +1427,12 @@ void cmLocalVisualStudio7Generator { if(!init) { + const char* comment = cr->GetComment(); + if(comment && *comment) + { + fout << "\nDescription=\"" + << this->EscapeForXML(comment) << "\""; + } fout << "\nCommandLine=\""; init = true; } |