f8f4140b6c
the generator on the first configure. It either ask for a toolchain file or asks for all the information a toolchain file might contain. Also added option for setting non-default compilers if not cross compiling. Fixes #6849. Also a bit of code cleanup and re-organizing.
49 lines
1022 B
C++
49 lines
1022 B
C++
|
|
#ifndef CMakeFirstConfigure_h
|
|
#define CMakeFirstConfigure_h
|
|
|
|
#include <QDialog>
|
|
#include "ui_CMakeFirstConfigure.h"
|
|
|
|
class CMakeFirstConfigure : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
CMakeFirstConfigure();
|
|
~CMakeFirstConfigure();
|
|
|
|
void setGenerators(const QStringList& gens);
|
|
QString getGenerator() const;
|
|
|
|
bool defaultSetup() const;
|
|
bool compilerSetup() const;
|
|
bool crossCompilerSetup() const;
|
|
QString crossCompilerToolChainFile() const;
|
|
|
|
QString getCCompiler() const;
|
|
QString getCXXCompiler() const;
|
|
QString getFortranCompiler() const;
|
|
|
|
QString getSystemName() const;
|
|
QString getSystemVersion() const;
|
|
QString getSystemProcessor() const;
|
|
|
|
QString getCrossRoot() const;
|
|
QString getCrossProgramMode() const;
|
|
QString getCrossLibraryMode() const;
|
|
QString getCrossIncludeMode() const;
|
|
|
|
void loadFromSettings();
|
|
void saveToSettings();
|
|
|
|
protected slots:
|
|
void updatePage();
|
|
void updateToolChainPage();
|
|
|
|
protected:
|
|
Ui::CMakeFirstConfigure UI;
|
|
};
|
|
|
|
#endif // CMakeFirstConfigure_h
|
|
|