blob: d1f52281404bdf9a48546caf51afe300773f06ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#ifndef PROJECTGENERATOR_H
#define PROJECTGENERATOR_H
#include "makefile.h"
QT_BEGIN_NAMESPACE
class ProjectGenerator : public MakefileGenerator
{
bool addFile(QString);
bool addConfig(const QString &, bool add=true);
QString getWritableVar(const char *, bool fixPath=true);
QString fixPathToQmake(const QString &file);
protected:
void init() override;
bool writeMakefile(QTextStream &) override;
QString escapeFilePath(const QString &) const override { Q_ASSERT(false); return QString(); }
public:
bool supportsMetaBuild() override { return false; }
bool openOutput(QFile &, const QString &) const override;
};
QT_END_NAMESPACE
#endif // PROJECTGENERATOR_H
|