summaryrefslogtreecommitdiff
path: root/qmake/generators/makefile.h
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2019-04-22 21:25:16 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2019-04-22 21:25:16 +0200
commitaeb1b0c9dfba7a3abc47dca709b639c6cdcaa459 (patch)
treeb56339bee5c8618d56be277d1d6420b2035cee8c /qmake/generators/makefile.h
parentf026667287f1239227ae67f7d8d91cc0b3fa4228 (diff)
downloadqtbase-compiledb.tar.gz
Change-Id: I239f7f82780db7754a62bb20c2d377c844b187fe
Diffstat (limited to 'qmake/generators/makefile.h')
-rw-r--r--qmake/generators/makefile.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/qmake/generators/makefile.h b/qmake/generators/makefile.h
index f81fc3cb54..9cc1550fb5 100644
--- a/qmake/generators/makefile.h
+++ b/qmake/generators/makefile.h
@@ -40,6 +40,7 @@
QT_BEGIN_NAMESPACE
+// ### rename to compilation database
struct CompileCommandRecorder
{
QJsonArray commands;
@@ -47,6 +48,7 @@ struct CompileCommandRecorder
// values are coded in the makefile and also supplied here, for expansion before writing
// compile_commands.json.
QHash<QString, QString> compilerVariables;
+ static QString compilationDatabaseFileNameForMakefile(const QFileInfo &makeFileInfo);
};
#ifdef Q_OS_WIN32