STYLE: fix line lengths
Alex
This commit is contained in:
parent
42a272428b
commit
aee311a89d
@ -1088,7 +1088,8 @@ void cmFileCommand::HandleInstallPermissions(cmFileInstaller& installer,
|
|||||||
}
|
}
|
||||||
|
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
void cmFileCommand::GetTargetTypeFromString(const std::string& stype, int& itype) const
|
void cmFileCommand
|
||||||
|
::GetTargetTypeFromString(const std::string& stype, int& itype) const
|
||||||
{
|
{
|
||||||
if ( stype == "EXECUTABLE" )
|
if ( stype == "EXECUTABLE" )
|
||||||
{
|
{
|
||||||
@ -1118,7 +1119,8 @@ void cmFileCommand::GetTargetTypeFromString(const std::string& stype, int& itype
|
|||||||
|
|
||||||
|
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
bool cmFileCommand::HandleInstallDestination(cmFileInstaller& installer, std::string& destination)
|
bool cmFileCommand::HandleInstallDestination(cmFileInstaller& installer,
|
||||||
|
std::string& destination)
|
||||||
{
|
{
|
||||||
if ( destination.size() < 2 )
|
if ( destination.size() < 2 )
|
||||||
{
|
{
|
||||||
@ -1554,7 +1556,8 @@ bool cmFileCommand::ParseInstallArgs(std::vector<std::string> const& args,
|
|||||||
}
|
}
|
||||||
if(files.size() > 1)
|
if(files.size() > 1)
|
||||||
{
|
{
|
||||||
this->SetError("INSTALL option RENAME may be used only with one file.");
|
this->SetError("INSTALL option RENAME may be used only with "
|
||||||
|
"one file.");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -252,10 +252,10 @@ bool cmFindBase::ParseArguments(std::vector<std::string> const& argsIn)
|
|||||||
}
|
}
|
||||||
this->AlreadyInCache = false;
|
this->AlreadyInCache = false;
|
||||||
|
|
||||||
|
|
||||||
std::string findRootPathVar = "CMAKE_FIND_ROOT_PATH_MODE_";
|
std::string findRootPathVar = "CMAKE_FIND_ROOT_PATH_MODE_";
|
||||||
findRootPathVar += this->CMakePathName;
|
findRootPathVar += this->CMakePathName;
|
||||||
std::string rootPathMode = this->Makefile->GetSafeDefinition(findRootPathVar.c_str());
|
std::string rootPathMode =
|
||||||
|
this->Makefile->GetSafeDefinition(findRootPathVar.c_str());
|
||||||
if (rootPathMode=="NEVER")
|
if (rootPathMode=="NEVER")
|
||||||
{
|
{
|
||||||
this->FindRootPathMode = RootPathModeNoRootPath;
|
this->FindRootPathMode = RootPathModeNoRootPath;
|
||||||
|
@ -39,7 +39,9 @@ public:
|
|||||||
virtual const char* GetFullDocumentation()
|
virtual const char* GetFullDocumentation()
|
||||||
{return this->GenericDocumentation.c_str();}
|
{return this->GenericDocumentation.c_str();}
|
||||||
|
|
||||||
enum RootPathMode { RootPathModeBoth, RootPathModeOnlyRootPath, RootPathModeNoRootPath };
|
enum RootPathMode { RootPathModeBoth,
|
||||||
|
RootPathModeOnlyRootPath,
|
||||||
|
RootPathModeNoRootPath };
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void PrintFindStuff();
|
void PrintFindStuff();
|
||||||
|
@ -498,7 +498,8 @@ void cmInstallTargetGenerator::AddRanlibRule(std::ostream& os,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string ranlib = this->Target->GetMakefile()->GetRequiredDefinition("CMAKE_RANLIB");
|
std::string ranlib = this->Target->GetMakefile()->GetRequiredDefinition(
|
||||||
|
"CMAKE_RANLIB");
|
||||||
if (!ranlib.size())
|
if (!ranlib.size())
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
|
@ -82,7 +82,8 @@ bool cmTryRunCommand::InitialPass(std::vector<std::string> const& argv)
|
|||||||
{
|
{
|
||||||
int retVal = -1;
|
int retVal = -1;
|
||||||
std::string output;
|
std::string output;
|
||||||
std::string executableSuffix=this->Makefile->GetDefinition("CMAKE_EXECUTABLE_SUFFIX");
|
std::string executableSuffix=this->Makefile->GetDefinition(
|
||||||
|
"CMAKE_EXECUTABLE_SUFFIX");
|
||||||
std::string command1 = binaryDirectory;
|
std::string command1 = binaryDirectory;
|
||||||
std::vector<std::string> attemptedPaths;
|
std::vector<std::string> attemptedPaths;
|
||||||
command1 += "/cmTryCompileExec";
|
command1 += "/cmTryCompileExec";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user