forked from qt-creator/qt-creator
CMake: Remove no longer used code
Change-Id: Icdd132b891e223a874051448bb4e5a090bdc245e Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
@@ -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()) {
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user