forked from qt-creator/qt-creator
Introduce compilation database project support. Pass the arguments list for each file directly to ClangCodeModel via extraCodeModelFlags therefore introduce a dependency from the ClangCodeModel plugin. Change-Id: Iea5760d379de1ea246382dce56de0adf7ab5673d Task-number: QTCREATORBUG-21115 Reviewed-by: Marco Bubke <marco.bubke@qt.io>
31 lines
1.8 KiB
JSON
31 lines
1.8 KiB
JSON
{
|
|
\"Name\" : \"CompilationDatabaseProjectManager\",
|
|
\"Version\" : \"$$QTCREATOR_VERSION\",
|
|
\"CompatVersion\" : \"$$QTCREATOR_COMPAT_VERSION\",
|
|
\"Experimental\" : true,
|
|
\"Vendor\" : \"The Qt Company Ltd\",
|
|
\"Copyright\" : \"(C) $$QTCREATOR_COPYRIGHT_YEAR The Qt Company Ltd\",
|
|
\"License\" : [ \"Commercial Usage\",
|
|
\"\",
|
|
\"Licensees holding valid Qt Commercial licenses may use this plugin in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and The Qt Company.\",
|
|
\"\",
|
|
\"GNU General Public License Usage\",
|
|
\"\",
|
|
\"Alternatively, this plugin may be used under the terms of the GNU General Public License version 3 as published by the Free Software Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT included in the packaging of this plugin. Please review the following information to ensure the GNU General Public License requirements will be met: https://www.gnu.org/licenses/gpl-3.0.html.\"
|
|
],
|
|
\"Category\" : \"Build Systems\",
|
|
\"Description\" : \"Compilation Database project support.\",
|
|
\"Url\" : \"http://www.qt.io\",
|
|
$$dependencyList,
|
|
\"Mimetypes\" : [
|
|
\"<?xml version=\'1.0\'?>\",
|
|
\"<mime-info xmlns=\'http://www.freedesktop.org/standards/shared-mime-info\'>\",
|
|
\" <mime-type type=\'text/x-compilation-database-project\'>\",
|
|
\" <sub-class-of type=\'text/plain\'/>\",
|
|
\" <comment>Compilation Database file</comment>\",
|
|
\" <glob pattern=\'compile_commands.json\' weight=\'100\'/>\",
|
|
\" </mime-type>\",
|
|
\"</mime-info>\"
|
|
]
|
|
}
|