forked from qt-creator/qt-creator
CMake: Add a way to provide options to CMake --build
Add a way to provide options to cmake --build in addition to the already existing option to the build tool (separated by -- from the cmake arguments). I decided to have these two separate to ease upgrading from older Creator versions. Task-number: QTCREATORBUG-24088 Change-Id: If989f9942498055312ba0e11e7d80c2b5ece269d Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -51,6 +51,8 @@ public:
|
||||
bool buildsBuildTarget(const QString &target) const;
|
||||
void setBuildTarget(const QString &target);
|
||||
|
||||
QString cmakeArguments() const;
|
||||
void setCMakeArguments(const QString &list);
|
||||
QString toolArguments() const;
|
||||
void setToolArguments(const QString &list);
|
||||
|
||||
@@ -100,6 +102,7 @@ private:
|
||||
QRegExp m_ninjaProgress;
|
||||
QString m_ninjaProgressString;
|
||||
QString m_buildTarget;
|
||||
QString m_cmakeArguments;
|
||||
QString m_toolArguments;
|
||||
bool m_useNinja = false;
|
||||
bool m_waiting = false;
|
||||
|
||||
Reference in New Issue
Block a user