forked from qt-creator/qt-creator
BC: Move builddirectory handling into BC itself
Use setBuildDirectory() in the different BuildConfigurations instead of reimplementing that over and over again. Change-Id: Ic355fdb4624c71667ce470b3e2865c9a8722ef09 Reviewed-by: Daniel Teske <daniel.teske@digia.com> Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
@@ -39,6 +39,7 @@ class ToolChain;
|
||||
|
||||
namespace CMakeProjectManager {
|
||||
namespace Internal {
|
||||
class CMakeProject;
|
||||
|
||||
class CMakeBuildConfigurationFactory;
|
||||
|
||||
@@ -52,9 +53,6 @@ public:
|
||||
~CMakeBuildConfiguration();
|
||||
|
||||
ProjectExplorer::NamedWidget *createConfigWidget();
|
||||
QString buildDirectory() const;
|
||||
|
||||
void setBuildDirectory(const QString &buildDirectory);
|
||||
|
||||
QVariantMap toMap() const;
|
||||
|
||||
@@ -71,9 +69,10 @@ protected:
|
||||
bool fromMap(const QVariantMap &map);
|
||||
|
||||
private:
|
||||
QString m_buildDirectory;
|
||||
QString m_msvcVersion;
|
||||
bool m_useNinja;
|
||||
|
||||
friend class CMakeProject;
|
||||
};
|
||||
|
||||
class CMakeBuildConfigurationFactory : public ProjectExplorer::IBuildConfigurationFactory
|
||||
|
||||
Reference in New Issue
Block a user