QCMakePreset.h 888 B

12345678910111213141516171819202122232425262728293031
  1. /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
  2. file Copyright.txt or https://cmake.org/licensing for details. */
  3. #pragma once
  4. #include <QString>
  5. #include <QVariant>
  6. #include "cmCMakePresetsGraph.h"
  7. class QCMakePreset
  8. {
  9. public:
  10. QString name;
  11. QString displayName;
  12. QString description;
  13. QString generator;
  14. QString architecture;
  15. bool setArchitecture;
  16. QString toolset;
  17. bool setToolset;
  18. bool enabled;
  19. };
  20. bool operator==(const QCMakePreset& lhs, const QCMakePreset& rhs);
  21. bool operator!=(const QCMakePreset& lhs, const QCMakePreset& rhs);
  22. bool operator<(const QCMakePreset& lhs, const QCMakePreset& rhs);
  23. bool operator<=(const QCMakePreset& lhs, const QCMakePreset& rhs);
  24. bool operator>(const QCMakePreset& lhs, const QCMakePreset& rhs);
  25. bool operator>=(const QCMakePreset& lhs, const QCMakePreset& rhs);
  26. Q_DECLARE_METATYPE(QCMakePreset)