Skip to content

CMake Compilation DB Provider include pathes pointing nowhere #187

@ChristianS99

Description

@ChristianS99

Describe the bug
The entries of the CMake Compilation DB Provider are pointing to pathes like <workspace>/.metadata/.plugins/org.eclipse.cdt.docker.launcher/HEADERS/unix_var_run_docker_sock/<imagename>/usr/include (and others)
Problem is, <workspace>/.metadata/.plugins/org.eclipse.cdt.docker.launcher/ is empty, no HEADERS dir.

Since this is a build inside a docker container, Compilation DB is expecting, that some one copies the headers from the container there, but doesn't. AsI don't know who should do this copying step, it might be that this isn't a problem from cmake4eclipse, but some other component. (But I have to start asking somewhere :) )

Expected behavior
The needed inlcudes should be, where Compilation DB expects them or Compilation DB should search them at the right place
(From a more higher level, I want the Indexer to work. During my investigation, this is what I noticed, but if there is a different way to make the indexer work, that's fine for me too)

Useful Information

  • cmake4eclipse version: 4.0.2
  • Which OS do you use: Linux
  • Cmake version: 3.27.4

What is in Eclipse's Error Log?
<pls tell me, where I find those if needed>

Thx for help!

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