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

cmake server-mode misses headers from top-level source dir

XMLWordPrintable

      cmake server-mode does not list header files from the source directory. See attached cmake-tutorial tar. I does show the header in headers/ but not the one in ./ – this is because https://github.com/qtproject/qt-creator/blob/master/src/plugins/cmakeprojectmanager/servermodereader.cpp#L692 does not contain the source directory itself, only the headers subdir.

      I am not sure if this is a bug in qtc, cmake server-mode or my CMakeLists.txt. To the best of my knowledge, the source directory is path of the include path, even though I did not list it explicitly.

        1. cmake-tutorial.tar
          40 kB
          Florian Apolloner
        2. cmake_headers.png
          10 kB
          Nikita Krupenko
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            hunger Tobias Hunger
            apollo13 Florian Apolloner
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes