Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exported compile_commands.json file doesn't include paths to external headers. #1364

Open
mbilyanov opened this issue Jun 18, 2024 · 2 comments

Comments

@mbilyanov
Copy link

mbilyanov commented Jun 18, 2024

I have a project that links to bunch of *.h files outside the scope of it's source code. For example C:\MyThirdPartyTool\SDK_Source\. The project compiles fine as I have this path included in the project configuration. But when I export the compilation commands json file, I don't see and commands referring to my third-part tool, such as -IC:\MyThirdPartyTool\SDK_Source\ etc.

@mbilyanov
Copy link
Author

I solved this by including extra flags in the Power Tools settings. I was expecting these to be picked up from the solution configuration.

@mariru27
Copy link
Contributor

mariru27 commented Aug 1, 2024

Hi @mbilyanov,

I'm glad you found a way to solve the issue. We do support picking up flags from the solution configuration. If you could provide us with the section of the solution configuration where the flags are specified, it would be helpful.

Best regards,
Marina

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants