diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-03-10 18:06:26 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-03-10 18:06:26 (GMT) |
commit | 634343c3e8c395318d4b6d9e90d97f2a59ec3ae7 (patch) | |
tree | c057576ccfa77d9f6dea07215f4ea3d9de1eb3d5 /Source/cmAddExecutableCommand.h | |
parent | f01afc89f50e68af3f652437dc350d181fd097b7 (diff) | |
download | CMake-634343c3e8c395318d4b6d9e90d97f2a59ec3ae7.zip CMake-634343c3e8c395318d4b6d9e90d97f2a59ec3ae7.tar.gz CMake-634343c3e8c395318d4b6d9e90d97f2a59ec3ae7.tar.bz2 |
STYLE: Fix some style issues
Diffstat (limited to 'Source/cmAddExecutableCommand.h')
-rw-r--r-- | Source/cmAddExecutableCommand.h | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/Source/cmAddExecutableCommand.h b/Source/cmAddExecutableCommand.h index a3fe568..77140c5 100644 --- a/Source/cmAddExecutableCommand.h +++ b/Source/cmAddExecutableCommand.h @@ -9,8 +9,8 @@ Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved. See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details. - This software is distributed WITHOUT ANY WARRANTY; without even - the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + This software is distributed WITHOUT ANY WARRANTY; without even + the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the above copyright notices for more information. =========================================================================*/ @@ -31,7 +31,7 @@ public: /** * This is a virtual constructor for the command. */ - virtual cmCommand* Clone() + virtual cmCommand* Clone() { return new cmAddExecutableCommand; } @@ -50,11 +50,12 @@ public: /** * Succinct documentation. */ - virtual const char* GetTerseDocumentation() + virtual const char* GetTerseDocumentation() { - return "Add an executable to the project using the specified source files."; + return + "Add an executable to the project using the specified source files."; } - + /** * More documentation. */ @@ -68,15 +69,15 @@ public: "specified.\n" "After specifying the executable name, WIN32 and/or MACOSX_BUNDLE can " "be specified. WIN32 indicates that the executable (when compiled on " - "windows) is a windows app (using WinMain) not a console app (using main). " - "The variable CMAKE_MFC_FLAG be used if the windows app uses MFC. " - "This variable can be set to the following values:\n" + "windows) is a windows app (using WinMain) not a console app " + "(using main). The variable CMAKE_MFC_FLAG be used if the windows app " + "uses MFC. This variable can be set to the following values:\n" " 0: Use Standard Windows Libraries\n" " 1: Use MFC in a Static Library \n" " 2: Use MFC in a Shared DLL \n" "MACOSX_BUNDLE indicates that when build on Mac OSX, executable should " - "be in the bundle form. The MACOSX_BUNDLE also allows several variables " - "to be specified:\n" + "be in the bundle form. The MACOSX_BUNDLE also allows several " + "variables to be specified:\n" " MACOSX_BUNDLE_INFO_STRING\n" " MACOSX_BUNDLE_ICON_FILE\n" " MACOSX_BUNDLE_GUI_IDENTIFIER\n" @@ -87,7 +88,7 @@ public: " MACOSX_BUNDLE_COPYRIGHT\n" ; } - + cmTypeMacro(cmAddExecutableCommand, cmCommand); }; |