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

Add package's own inst/include with "Generate C/C++ configuration"... #1526

Open
CGMossa opened this issue May 9, 2024 · 0 comments
Open

Comments

@CGMossa
Copy link

CGMossa commented May 9, 2024

Is your feature request related to a problem? Please describe.
Currently, when invoking "R package: Generate C/C++ configuration", every package
that is stated in LinkingTo is added in the includePath path via <pkg>/inst/include,
in that you run something akin to system.file("include", package = <pkg>).

What would be very nice, is if you tested if the current package had a inst/include, and
added that to the includePath in .vscode/c_cpp_properties.json.

I wouldn't add src/include, as that seems excessive, but it is also an option.

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

No branches or pull requests

1 participant