1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-06-10 16:21:40 +08:00
CMake/Source/QtDialog/QCMakePreset.h
Kyle Edwards fd6ea2f67f Refactor: Rename cmCMakePresetsFile to cmCMakePresetsGraph
And change all references to "file" to say "graph" instead.
2022-01-06 18:52:30 -05:00

32 lines
888 B
C++

/* 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 "cmCMakePresetsGraph.h"
class QCMakePreset
{
public:
QString name;
QString displayName;
QString description;
QString generator;
QString architecture;
bool setArchitecture;
QString toolset;
bool setToolset;
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)