diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2019-04-22 21:25:16 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2019-04-22 21:25:16 +0200 |
commit | aeb1b0c9dfba7a3abc47dca709b639c6cdcaa459 (patch) | |
tree | b56339bee5c8618d56be277d1d6420b2035cee8c /qmake/generators/makefile.h | |
parent | f026667287f1239227ae67f7d8d91cc0b3fa4228 (diff) | |
download | qtbase-compiledb.tar.gz |
WIPcompiledb
Change-Id: I239f7f82780db7754a62bb20c2d377c844b187fe
Diffstat (limited to 'qmake/generators/makefile.h')
-rw-r--r-- | qmake/generators/makefile.h | 2 |
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 |