| 1 | // SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. |
|---|---|
| 2 | // |
| 3 | // SPDX-License-Identifier: GPL-3.0-or-later |
| 4 | |
| 5 | #ifndef NINJABUILD_H |
| 6 | #define NINJABUILD_H |
| 7 | |
| 8 | #include "dap/protocol.h" |
| 9 | #include <QObject> |
| 10 | |
| 11 | class NinjaBuildPrivate; |
| 12 | class NinjaBuild : public QObject |
| 13 | { |
| 14 | Q_OBJECT |
| 15 | public: |
| 16 | explicit NinjaBuild(QObject *parent = nullptr); |
| 17 | ~NinjaBuild(); |
| 18 | |
| 19 | static QString build(const QString& kitName, const QString& projectPath); |
| 20 | |
| 21 | signals: |
| 22 | |
| 23 | private slots: |
| 24 | |
| 25 | private: |
| 26 | NinjaBuildPrivate *const d; |
| 27 | }; |
| 28 | |
| 29 | #endif //NINJABUILD_H |
| 30 | |
| 31 |