diff options
author | Brad King <brad.king@kitware.com> | 2007-12-18 14:50:08 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-12-18 14:50:08 (GMT) |
commit | 872553de7e729788242da37124f41e40228c6f13 (patch) | |
tree | 1bb9aaa4a3fa205c260f09b8eaa80efba79ec7ac /Source/cmLocalVisualStudio7Generator.cxx | |
parent | 42bad89fe7ba61bed1f0ba293e8497970df2cef0 (diff) | |
download | CMake-872553de7e729788242da37124f41e40228c6f13.zip CMake-872553de7e729788242da37124f41e40228c6f13.tar.gz CMake-872553de7e729788242da37124f41e40228c6f13.tar.bz2 |
ENH: Implemented generation of display for pre-build, pre-link, and post-build custom command comments during the build. This addresses issue #5353.
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; } |