forked from qt-creator/qt-creator
CMake: Support building several targets with cmake --build
CMake supports this for a while now. As a side effect this fixes QTCREATORBUG-23738, which was caused by the radio button hack used to show that only one item could be selected at a time. Change-Id: I18cbe6c5ee3872edaf74b9d828bde1ac5bf63563 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -47,9 +47,9 @@ public:
|
||||
|
||||
CMakeBuildConfiguration *cmakeBuildConfiguration() const;
|
||||
|
||||
QString buildTarget() const;
|
||||
QStringList buildTargets() const;
|
||||
bool buildsBuildTarget(const QString &target) const;
|
||||
void setBuildTarget(const QString &target);
|
||||
void setBuildTargets(const QStringList &target);
|
||||
|
||||
QString cmakeArguments() const;
|
||||
void setCMakeArguments(const QString &list);
|
||||
@@ -69,7 +69,7 @@ public:
|
||||
static QStringList specialTargets();
|
||||
|
||||
signals:
|
||||
void targetToBuildChanged();
|
||||
void targetsToBuildChanged();
|
||||
void buildTargetsChanged();
|
||||
|
||||
protected:
|
||||
@@ -94,14 +94,14 @@ private:
|
||||
void runImpl();
|
||||
void handleProjectWasParsed(bool success);
|
||||
|
||||
void handleBuildTargetChanges(bool success);
|
||||
void handleBuildTargetsChanges(bool success);
|
||||
|
||||
QMetaObject::Connection m_runTrigger;
|
||||
|
||||
QRegExp m_percentProgress;
|
||||
QRegExp m_ninjaProgress;
|
||||
QString m_ninjaProgressString;
|
||||
QString m_buildTarget;
|
||||
QStringList m_buildTargets;
|
||||
QString m_cmakeArguments;
|
||||
QString m_toolArguments;
|
||||
bool m_useNinja = false;
|
||||
|
||||
Reference in New Issue
Block a user