forked from qt-creator/qt-creator
Make it possible to register multiple cmake instances
This patch add the CMakeToolManager, a central repository for cmake instances. One instance is always the currently used "default". By that its possible to switch between different cmake installations. The next step will be adding it to the Kits. Change-Id: I310fdd805e0ed239077a5632303e891dbd1d9ea1 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
This commit is contained in:
@@ -53,7 +53,7 @@ class CMakeManager : public ProjectExplorer::IProjectManager
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
CMakeManager(CMakeSettingsPage *cmakeSettingsPage);
|
||||
CMakeManager();
|
||||
|
||||
virtual ProjectExplorer::Project *openProject(const QString &fileName, QString *errorString);
|
||||
virtual QString mimeType() const;
|
||||
@@ -61,8 +61,6 @@ public:
|
||||
QString cmakeExecutable() const;
|
||||
bool isCMakeExecutableValid() const;
|
||||
|
||||
void setCMakeExecutable(const QString &executable);
|
||||
|
||||
void createXmlFile(Utils::QtcProcess *process,
|
||||
const QString &arguments,
|
||||
const QString &sourceDirectory,
|
||||
|
||||
Reference in New Issue
Block a user