forked from qt-creator/qt-creator
CMakePM: Make "Build type" aspect visible
For single configuration projects if you change the build type aspect you will change the CMAKE_BUILD_TYPE variable. When switching the build directory the existing CMAKE_BUILD_TYPE will be set as build type aspect. Fixes: QTCREATORBUG-25451 Change-Id: I13519e95c316c556cc1348fba6121637d2fd4275 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -75,7 +75,9 @@ public:
|
||||
Utils::FilePath sourceDirectory() const;
|
||||
|
||||
QString cmakeBuildType() const;
|
||||
void setCMakeBuildType(const QString &cmakeBuildType);
|
||||
void setCMakeBuildType(const QString &cmakeBuildType, bool quiet = false);
|
||||
|
||||
bool isMultiConfig() const;
|
||||
|
||||
signals:
|
||||
void errorOccurred(const QString &message);
|
||||
@@ -163,6 +165,7 @@ class BuildTypeAspect final : public Utils::StringAspect
|
||||
|
||||
public:
|
||||
BuildTypeAspect();
|
||||
using Utils::StringAspect::update;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
|
||||
Reference in New Issue
Block a user