Allow overriding make command and specifying parameters

For the generic project manager.
This commit is contained in:
Thorbjørn Lindeijer
2009-03-18 15:58:36 +01:00
parent d73079468f
commit 3b0305727b
4 changed files with 148 additions and 31 deletions

View File

@@ -27,17 +27,19 @@
**
**************************************************************************/
#ifndef MAKESTEP_H
#define MAKESTEP_H
#ifndef GENERICMAKESTEP_H
#define GENERICMAKESTEP_H
#include <projectexplorer/abstractprocessstep.h>
QT_BEGIN_NAMESPACE
class QLineEdit;
class QListWidget;
class QListWidgetItem;
QT_END_NAMESPACE
namespace Ui {
class GenericMakeStep;
}
namespace GenericProjectManager {
namespace Internal {
@@ -82,10 +84,12 @@ public:
virtual void init(const QString &buildConfiguration);
private slots:
void itemChanged(QListWidgetItem*);
void makeLineEditTextEdited();
void makeArgumentsLineEditTextEdited();
private:
QString m_buildConfiguration;
Ui::GenericMakeStep *m_ui;
GenericMakeStep *m_makeStep;
QListWidget *m_targetsList;
};
class GenericMakeStepFactory : public ProjectExplorer::IBuildStepFactory
@@ -99,4 +103,4 @@ class GenericMakeStepFactory : public ProjectExplorer::IBuildStepFactory
} // namespace Internal
} // namespace GenericProjectManager
#endif // MAKESTEP_H
#endif // GENERICMAKESTEP_H