diff options
author | Tobias Hunger <tobias.hunger@qt.io> | 2020-06-02 17:23:47 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@qt.io> | 2020-06-03 08:04:33 +0000 |
commit | 10b63683fce6530fd47ae8d1c475283a68e508f4 (patch) | |
tree | 8d956d94602da906bb4e77f5da3be190f5e2bd16 /src/plugins/cmakeprojectmanager/cmakebuildstep.h | |
parent | bd4c9ea250c97cec9799b5d8ab1f6fb6ef936c46 (diff) |
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>
Diffstat (limited to 'src/plugins/cmakeprojectmanager/cmakebuildstep.h')
-rw-r--r-- | src/plugins/cmakeprojectmanager/cmakebuildstep.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/cmakeprojectmanager/cmakebuildstep.h b/src/plugins/cmakeprojectmanager/cmakebuildstep.h index f2a650fe788..561aa4eb8cf 100644 --- a/src/plugins/cmakeprojectmanager/cmakebuildstep.h +++ b/src/plugins/cmakeprojectmanager/cmakebuildstep.h @@ -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; |