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

perf: add options to customizable code_coverage #93

Merged
merged 1 commit into from
Apr 7, 2024
Merged

Conversation

msclock
Copy link
Owner

@msclock msclock commented Apr 7, 2024

This commit adds options to customizable code_coverage.

  • CODE_COVERAGE_GCOV: Sets the gcov executable to find in find_program().
  • CODE_COVERAGE_EXTRA_FLAGS: gcov -s ${CMAKE_BINARY_DIR} for *Clang, -s ${CMAKE_BINARY_DIR} for GNU.

Moreover, adjust Coverage help to show the new options.

This commit adds options to customizable code_coverage.
- `CODE_COVERAGE_GCOV`: Sets the gcov executable to find in find_program().
- `CODE_COVERAGE_EXTRA_FLAGS`: gcov -s ${CMAKE_BINARY_DIR} for *Clang, -s ${CMAKE_BINARY_DIR} for GNU.

Moreover, adjust Coverage help to show the new options.

Signed-off-by: msclock <msclock@qq.com>
@msclock msclock merged commit f1cb56d into master Apr 7, 2024
2 checks passed
@msclock msclock deleted the coverage branch April 7, 2024 03:07
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.

None yet

1 participant