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

CMake: Files added through project configuration are not found immediately

    XMLWordPrintable

Details

    Description

      1. Git clone https://github.com/llvm/llvm-project.git
      2. Open llvm/CMakeLists.txt and configure the project (wait until it finished)
      3. In Projects mode, set LLVM_ENABLE_PROJECTS to "clang;clang-tools-extra"
      4. Hit "Apply Configuration Changes"
      5. In the locator, type "clangd" to find ClangdMain.cpp --> Ops, nothing.
      6. Hit "Apply Configuration Changes" again --> Ops, shouldn't it be grayed out?
      7. In the locator, type "clangd" again --> Ops, nothing.
      8. Close the project and re-open it.
      9. In the locator, type "clangd" again --> Aha, found.

      Note that by setting LLVM_ENABLE_PROJECTS more sub projects are included.

      Attachments

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

        Activity

          People

            hunger Tobias Hunger
            kosjar Nikolai Kosjar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes