summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog/CMakeFirstConfigure.h
blob: 2cb6220c08831af9b7b8e4ac9cbe113f245e0098 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48

#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