/* Distributed under the OSI-approved BSD 3-Clause License.  See accompanying
   file Copyright.txt or https://cmake.org/licensing for details.  */
#pragma once

#include <QString>
#include <QVariant>

#include "cmCMakePresetsFile.h"

class QCMakePreset
{
public:
  QString name;
  QString displayName;
  QString description;
  QString generator;
  QString architecture;
  QString toolset;
  bool setGenConfig;
  bool enabled;
};

bool operator==(const QCMakePreset& lhs, const QCMakePreset& rhs);
bool operator!=(const QCMakePreset& lhs, const QCMakePreset& rhs);
bool operator<(const QCMakePreset& lhs, const QCMakePreset& rhs);
bool operator<=(const QCMakePreset& lhs, const QCMakePreset& rhs);
bool operator>(const QCMakePreset& lhs, const QCMakePreset& rhs);
bool operator>=(const QCMakePreset& lhs, const QCMakePreset& rhs);

Q_DECLARE_METATYPE(QCMakePreset)
