CMakeFirstConfigure.h 1022 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. #ifndef CMakeFirstConfigure_h
  2. #define CMakeFirstConfigure_h
  3. #include <QDialog>
  4. #include "ui_CMakeFirstConfigure.h"
  5. class CMakeFirstConfigure : public QDialog
  6. {
  7. Q_OBJECT
  8. public:
  9. CMakeFirstConfigure();
  10. ~CMakeFirstConfigure();
  11. void setGenerators(const QStringList& gens);
  12. QString getGenerator() const;
  13. bool defaultSetup() const;
  14. bool compilerSetup() const;
  15. bool crossCompilerSetup() const;
  16. QString crossCompilerToolChainFile() const;
  17. QString getCCompiler() const;
  18. QString getCXXCompiler() const;
  19. QString getFortranCompiler() const;
  20. QString getSystemName() const;
  21. QString getSystemVersion() const;
  22. QString getSystemProcessor() const;
  23. QString getCrossRoot() const;
  24. QString getCrossProgramMode() const;
  25. QString getCrossLibraryMode() const;
  26. QString getCrossIncludeMode() const;
  27. void loadFromSettings();
  28. void saveToSettings();
  29. protected slots:
  30. void updatePage();
  31. void updateToolChainPage();
  32. protected:
  33. Ui::CMakeFirstConfigure UI;
  34. };
  35. #endif // CMakeFirstConfigure_h