parent
a2489ce49c
commit
1eaf2f263b
|
@ -326,47 +326,3 @@ std::string cmExtraKateGenerator::GetPathBasename(const std::string& path)const
|
|||
|
||||
return outputBasename;
|
||||
}
|
||||
|
||||
|
||||
// Create the command line for building the given target using the selected
|
||||
// make
|
||||
std::string cmExtraKateGenerator::BuildMakeCommand(const std::string& make,
|
||||
const char* makefile, const char* target) const
|
||||
{
|
||||
std::string command = make;
|
||||
if (strcmp(this->GlobalGenerator->GetName(), "NMake Makefiles")==0)
|
||||
{
|
||||
std::string makefileName = cmSystemTools::ConvertToOutputPath(makefile);
|
||||
command += " /NOLOGO /f "";
|
||||
command += makefileName;
|
||||
command += "" ";
|
||||
command += " VERBOSE=1 ";
|
||||
command += target;
|
||||
}
|
||||
else if (strcmp(this->GlobalGenerator->GetName(), "MinGW Makefiles")==0)
|
||||
{
|
||||
// no escaping of spaces in this case, see
|
||||
// http://public.kitware.com/Bug/view.php?id=10014
|
||||
std::string makefileName = makefile;
|
||||
command += " -f "";
|
||||
command += makefileName;
|
||||
command += "" ";
|
||||
command += " VERBOSE=1 ";
|
||||
command += target;
|
||||
}
|
||||
else if (strcmp(this->GlobalGenerator->GetName(), "Ninja")==0)
|
||||
{
|
||||
command += " -v ";
|
||||
command += target;
|
||||
}
|
||||
else
|
||||
{
|
||||
std::string makefileName = cmSystemTools::ConvertToOutputPath(makefile);
|
||||
command += " -f "";
|
||||
command += makefileName;
|
||||
command += "" ";
|
||||
command += " VERBOSE=1 ";
|
||||
command += target;
|
||||
}
|
||||
return command;
|
||||
}
|
||||
|
|
|
@ -53,8 +53,6 @@ private:
|
|||
std::string GenerateProjectName(const std::string& name,
|
||||
const std::string& type,
|
||||
const std::string& path) const;
|
||||
std::string BuildMakeCommand(const std::string& make,
|
||||
const char* makefile, const char* target) const;
|
||||
|
||||
std::string ProjectName;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue