summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2013-12-10 21:37:11 (GMT)
committerBrad King <brad.king@kitware.com>2013-12-19 15:03:34 (GMT)
commit1eaf2f263b11afbe4eaa1490a18354ecb7a79acb (patch)
tree83c1b7d600fc890fce19827cd919476ca2aaaa69 /Source
parenta2489ce49c0cbf5582a29ef8c4a0d9728994f465 (diff)
downloadCMake-1eaf2f263b11afbe4eaa1490a18354ecb7a79acb.zip
CMake-1eaf2f263b11afbe4eaa1490a18354ecb7a79acb.tar.gz
CMake-1eaf2f263b11afbe4eaa1490a18354ecb7a79acb.tar.bz2
kate: remove unused function
Alex
Diffstat (limited to 'Source')
-rw-r--r--Source/cmExtraKateGenerator.cxx44
-rw-r--r--Source/cmExtraKateGenerator.h2
2 files changed, 0 insertions, 46 deletions
diff --git a/Source/cmExtraKateGenerator.cxx b/Source/cmExtraKateGenerator.cxx
index f020ddb..340ffba 100644
--- a/Source/cmExtraKateGenerator.cxx
+++ b/Source/cmExtraKateGenerator.cxx
@@ -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 &quot;";
- command += makefileName;
- command += "&quot; ";
- 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 &quot;";
- command += makefileName;
- command += "&quot; ";
- 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 &quot;";
- command += makefileName;
- command += "&quot; ";
- command += " VERBOSE=1 ";
- command += target;
- }
- return command;
-}
diff --git a/Source/cmExtraKateGenerator.h b/Source/cmExtraKateGenerator.h
index 4979eff..37a6886 100644
--- a/Source/cmExtraKateGenerator.h
+++ b/Source/cmExtraKateGenerator.h
@@ -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;
};