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
@@ -65,6 +65,12 @@ public:
|
||||
|
||||
BuildType buildType() const;
|
||||
|
||||
bool useNinja() const;
|
||||
void setUseNinja(bool);
|
||||
|
||||
signals:
|
||||
void useNinjaChanged(bool);
|
||||
|
||||
protected:
|
||||
CMakeBuildConfiguration(ProjectExplorer::Target *parent, CMakeBuildConfiguration *source);
|
||||
virtual bool fromMap(const QVariantMap &map);
|
||||
@@ -72,6 +78,7 @@ protected:
|
||||
private:
|
||||
QString m_buildDirectory;
|
||||
QString m_msvcVersion;
|
||||
bool m_useNinja;
|
||||
};
|
||||
|
||||
class CMakeBuildConfigurationFactory : public ProjectExplorer::IBuildConfigurationFactory
|
||||
|
||||
Reference in New Issue
Block a user