forked from qt-creator/qt-creator
Reintroduced a way to edit project dependencies
Dependencies between projects can now be edited in the Projects mode. You can simply check for each project the projects that it depends on, and they will be built first. A message box pops up when you try to create a circular dependency. Could use some testing.
This commit is contained in:
@@ -46,7 +46,6 @@
|
||||
#include <QtCore/QTextCodec>
|
||||
|
||||
using namespace ProjectExplorer;
|
||||
using ExtensionSystem::PluginManager;
|
||||
|
||||
Project::Project()
|
||||
: m_activeRunConfiguration(0),
|
||||
@@ -54,6 +53,14 @@ Project::Project()
|
||||
{
|
||||
}
|
||||
|
||||
Project::~Project()
|
||||
{
|
||||
qDeleteAll(m_buildSteps);
|
||||
qDeleteAll(m_cleanSteps);
|
||||
qDeleteAll(m_buildConfigurationValues);
|
||||
delete m_editorConfiguration;
|
||||
}
|
||||
|
||||
void Project::insertBuildStep(int position, BuildStep *step)
|
||||
{
|
||||
m_buildSteps.insert(position, step);
|
||||
@@ -508,14 +515,3 @@ void Project::setDisplayNameFor(const QString &buildConfiguration, const QString
|
||||
}
|
||||
emit buildConfigurationDisplayNameChanged(buildConfiguration);
|
||||
}
|
||||
|
||||
|
||||
Project::~Project()
|
||||
{
|
||||
qDeleteAll(m_buildSteps);
|
||||
qDeleteAll(m_cleanSteps);
|
||||
qDeleteAll(m_buildConfigurationValues);
|
||||
delete m_editorConfiguration;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user