diff options
author | Ken Martin <ken.martin@kitware.com> | 2006-05-10 19:56:00 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2006-05-10 19:56:00 (GMT) |
commit | 71b993560b2e65dc648521fc19b02b5e80e50553 (patch) | |
tree | 186eee70bc91d63bd48a4895ca3a31fe84227914 /Source/cmGetFilenameComponentCommand.cxx | |
parent | 2af47105250a8a502eb5a3cbe18e1d77d11ec590 (diff) | |
download | CMake-71b993560b2e65dc648521fc19b02b5e80e50553.zip CMake-71b993560b2e65dc648521fc19b02b5e80e50553.tar.gz CMake-71b993560b2e65dc648521fc19b02b5e80e50553.tar.bz2 |
STYLE: fix line length
Diffstat (limited to 'Source/cmGetFilenameComponentCommand.cxx')
-rw-r--r-- | Source/cmGetFilenameComponentCommand.cxx | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/Source/cmGetFilenameComponentCommand.cxx b/Source/cmGetFilenameComponentCommand.cxx index d8b29d3..7bd5ac9 100644 --- a/Source/cmGetFilenameComponentCommand.cxx +++ b/Source/cmGetFilenameComponentCommand.cxx @@ -18,7 +18,8 @@ #include "cmSystemTools.h" // cmGetFilenameComponentCommand -bool cmGetFilenameComponentCommand::InitialPass(std::vector<std::string> const& args) +bool cmGetFilenameComponentCommand +::InitialPass(std::vector<std::string> const& args) { if(args.size() < 3) { @@ -63,7 +64,8 @@ bool cmGetFilenameComponentCommand::InitialPass(std::vector<std::string> const& } } } - cmSystemTools::SplitProgramFromArgs(filename.c_str(), result, programArgs); + cmSystemTools::SplitProgramFromArgs(filename.c_str(), + result, programArgs); } else if (args[2] == "EXT") { @@ -102,17 +104,15 @@ bool cmGetFilenameComponentCommand::InitialPass(std::vector<std::string> const& { if(programArgs.size() && storeArgs.size()) { - this->Makefile->AddCacheDefinition(storeArgs.c_str(), - programArgs.c_str(), - "", - args[2] == "PATH" ? cmCacheManager::FILEPATH - : cmCacheManager::STRING); + this->Makefile->AddCacheDefinition + (storeArgs.c_str(), programArgs.c_str(), + "", args[2] == "PATH" ? cmCacheManager::FILEPATH + : cmCacheManager::STRING); } - this->Makefile->AddCacheDefinition(args[0].c_str(), - result.c_str(), - "", - args[2] == "PATH" ? cmCacheManager::FILEPATH - : cmCacheManager::STRING); + this->Makefile->AddCacheDefinition + (args[0].c_str(), result.c_str(), "", + args[2] == "PATH" ? cmCacheManager::FILEPATH + : cmCacheManager::STRING); } else { |