summaryrefslogtreecommitdiffstats
path: root/Source/cmGetFilenameComponentCommand.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmGetFilenameComponentCommand.cxx')
-rw-r--r--Source/cmGetFilenameComponentCommand.cxx24
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
{