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

Include .C files (with extern "C") and include files in higher folders than project file #42

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

jgshumate1
Copy link
Contributor

Ability to cover .C files using extern "C" compilation. Also include files in higher level folders than the project file, but no outside the projects higher folder. Added unit test for C files. Added higher folder C file to verify cppCoverage will grab it and process.

jgshumate1 and others added 6 commits May 6, 2024 14:44
Added for C files with extern C, and also if files are not in same folder structure as project files.  Higher level folders contain source in project.
include path for release x64 was broken, fixed to only include project files in upper and lower folders also.
release version copied from release folder.
@atlaste
Copy link
Owner

atlaste commented May 15, 2024

I understand why you want this, but I can see an issue with this approach. People seem to use different extensions for whatever (inl for inline files, .gencpp for generated cpp, and so on and so forth), and currently the path is simply checked to avoid all that. Even further, some people seem to have used this for non-cpp projects that are natively compiled... as long as there's debugging symbols that should be fine I suppose.

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

Successfully merging this pull request may close these issues.

2 participants