compile_commands.json with different targets for the same source file #10408
Karim Ashraf Mohamed Hashish (KarimAshraf1995)
started this conversation in
General
Replies: 2 comments 2 replies
|
Karim Ashraf Mohamed Hashish (@KarimAshraf1995) I don't believe so (other than moving it to the 1st entry). Can you provide an example of how a compile_commands.json has the same source file configured for different targets? That sounds like scenario we're not handling. |
2 replies
|
was this problem solved? |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
When compile_commands json has more than one entry for different targets that use the same source file, I noticed that the extension chooses the first entry for the active source file.
Is there a way to control which compile commands entry to use when compile_commands.json has more than one target for the same source file ?
All reactions