Skip to content

Rebuilding the same target (no code changes) re-indexes the whole project #144

@DennisSchiefer

Description

@DennisSchiefer

Describe the bug
Building a target re-indexes the whole project.
(this is particualrly bad since indexing the whole project can take 30min-1h with >10k source files)

To Reproduce
Steps to reproduce the behavior:

  1. Have a project with a build target.
  2. Click on the build target to have it built (cmake, ninja, indexing is happening).
  3. After it finishes, click on the build target again (cmake, ninja, indexing is happening again).

Expected behavior
Rebuilding a target should not re-index the whole project.
Possible Preferred behaviors:

  • Only changed files should be indexed gain
  • No automatic indexing

Useful Information2.1.2.202007111250

  • Which OS do you use: macOS Catalina
  • Cmake version: 3.18.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions