summaryrefslogtreecommitdiffstats
path: root/Source/cmAddCustomCommandCommand.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-03-10 18:06:26 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-03-10 18:06:26 (GMT)
commit634343c3e8c395318d4b6d9e90d97f2a59ec3ae7 (patch)
treec057576ccfa77d9f6dea07215f4ea3d9de1eb3d5 /Source/cmAddCustomCommandCommand.cxx
parentf01afc89f50e68af3f652437dc350d181fd097b7 (diff)
downloadCMake-634343c3e8c395318d4b6d9e90d97f2a59ec3ae7.zip
CMake-634343c3e8c395318d4b6d9e90d97f2a59ec3ae7.tar.gz
CMake-634343c3e8c395318d4b6d9e90d97f2a59ec3ae7.tar.bz2
STYLE: Fix some style issues
Diffstat (limited to 'Source/cmAddCustomCommandCommand.cxx')
-rw-r--r--Source/cmAddCustomCommandCommand.cxx12
1 files changed, 7 insertions, 5 deletions
diff --git a/Source/cmAddCustomCommandCommand.cxx b/Source/cmAddCustomCommandCommand.cxx
index 845a268..f8b1ea1 100644
--- a/Source/cmAddCustomCommandCommand.cxx
+++ b/Source/cmAddCustomCommandCommand.cxx
@@ -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.
=========================================================================*/
@@ -19,7 +19,8 @@
#include "cmTarget.h"
// cmAddCustomCommandCommand
-bool cmAddCustomCommandCommand::InitialPass(std::vector<std::string> const& args)
+bool cmAddCustomCommandCommand::InitialPass(
+ std::vector<std::string> const& args)
{
/* Let's complain at the end of this function about the lack of a particular
arg. For the moment, let's say that COMMAND, and either TARGET or SOURCE
@@ -42,7 +43,7 @@ bool cmAddCustomCommandCommand::InitialPass(std::vector<std::string> const& args
cmCustomCommandLines commandLines;
cmTarget::CustomCommandType cctype = cmTarget::POST_BUILD;
-
+
enum tdoing {
doing_source,
doing_command,
@@ -198,7 +199,8 @@ bool cmAddCustomCommandCommand::InitialPass(std::vector<std::string> const& args
if(source.empty() && !target.empty() && !output.empty())
{
- this->SetError("Wrong syntax. A TARGET and OUTPUT can not both be specified.");
+ this->SetError(
+ "Wrong syntax. A TARGET and OUTPUT can not both be specified.");
return false;
}