forked from qt-creator/qt-creator
CMake: add Ninja support
The cmake wizard proposes also ninja if ninja support is available Ninja must be in PATH, but it is only called once, so it doesn't hurt. Task-number: QTCREATORBUG-7720 Reviewed-by: Daniel Teske <daniel.teske@digia.com> Change-Id: If3c9c7ae55e6990fa16b031fc2998a8d8d9ed17a Reviewed-by: Peter Kümmel <syntheticpp@gmx.net> Reviewed-by: Yuchen Deng <loaden@gmail.com> Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
committed by
Daniel Teske
parent
bec84f09aa
commit
264313ec90
@@ -78,6 +78,7 @@ public:
|
||||
const Utils::Environment &env,
|
||||
const QString &generator);
|
||||
bool hasCodeBlocksMsvcGenerator() const;
|
||||
bool hasCodeBlocksNinjaGenerator() const;
|
||||
static QString findCbpFile(const QDir &);
|
||||
|
||||
static QString findDumperLibrary(const Utils::Environment &env);
|
||||
@@ -101,6 +102,7 @@ struct CMakeValidator
|
||||
STATE state;
|
||||
QProcess *process;
|
||||
bool hasCodeBlocksMsvcGenerator;
|
||||
bool hasCodeBlocksNinjaGenerator;
|
||||
QString version;
|
||||
QString executable;
|
||||
};
|
||||
@@ -121,6 +123,7 @@ public:
|
||||
void setCMakeExecutable(const QString &executable);
|
||||
bool isCMakeExecutableValid() const;
|
||||
bool hasCodeBlocksMsvcGenerator() const;
|
||||
bool hasCodeBlocksNinjaGenerator() const;
|
||||
|
||||
private slots:
|
||||
void userCmakeFinished();
|
||||
|
||||
Reference in New Issue
Block a user