CMake: Remove no longer used code

Change-Id: Icdd132b891e223a874051448bb4e5a090bdc245e
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
Tobias Hunger
2016-02-29 14:15:23 +01:00
parent a8853fa8b1
commit 5aca8ca27e
2 changed files with 0 additions and 14 deletions

View File

@@ -130,18 +130,6 @@ Utils::FileName CMakeTool::cmakeExecutable() const
return m_executable; return m_executable;
} }
bool CMakeTool::hasCodeBlocksMsvcGenerator() const
{
if (!isValid())
return false;
return supportedGenerators().contains(QLatin1String("CodeBlocks - NMake Makefiles"));
}
bool CMakeTool::hasCodeBlocksNinjaGenerator() const
{
return supportedGenerators().contains(QLatin1String("CodeBlocks - Ninja"));
}
QStringList CMakeTool::supportedGenerators() const QStringList CMakeTool::supportedGenerators() const
{ {
if (m_generators.isEmpty()) { if (m_generators.isEmpty()) {

View File

@@ -68,8 +68,6 @@ public:
void setCMakeExecutable(const Utils::FileName &executable); void setCMakeExecutable(const Utils::FileName &executable);
Utils::FileName cmakeExecutable() const; Utils::FileName cmakeExecutable() const;
bool hasCodeBlocksMsvcGenerator() const;
bool hasCodeBlocksNinjaGenerator() const;
QStringList supportedGenerators() const; QStringList supportedGenerators() const;
TextEditor::Keywords keywords(); TextEditor::Keywords keywords();