Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-25575

Generate Compilation Database includes header files

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • Qt Creator 4.15.0-beta2
    • None

    Description

      The compile_commands.json generated by Build->"Generate Compilation Database" includes not only .cpp and .c files at the "files" key, but also all .h and .hpp files for the project.

      I noticed that when using the file with ccls, this slows down indexing massively. Could there be an option to exclude header files?

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kandeler Christian Kandeler
            tom-anders Tom Praschan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes