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

feature: target register functionality and coverage #1004

Merged
merged 2 commits into from
Jan 15, 2025

Conversation

a-w50
Copy link
Contributor

@a-w50 a-w50 commented Jan 15, 2025

  • added two cmake functions ev_register_library_target and ev_register_module_target for registering modules and libraries
  • all modules and libraries that are registered via those functions can be retrieved with ev_get_targets
  • this functionality is used for adding target specific coverage flags (but it can also be used to add other target specific compile options and flags)

Describe your changes

Issue ticket number and link

Checklist before requesting a review

  • I have performed a self-review of my code
  • I have made corresponding changes to the documentation
  • I read the contribution documentation and made sure that my changes meet its requirements

- added two cmake functions `ev_register_library_target` and
  `ev_register_module_target` for registering modules and libraries
- all modules and libraries that are registered via those functions can
  be retrieved with `ev_get_targets`
- this functionality is used for adding target specific coverage flags
  (but it can also be used to add other target specific compile options
  and flags)

Signed-off-by: aw <[email protected]>
Copy link
Contributor

@SebaLukas SebaLukas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Signed-off-by: aw <[email protected]>
@a-w50 a-w50 merged commit e5d8408 into main Jan 15, 2025
11 checks passed
@a-w50 a-w50 deleted the feature/target_coverage branch January 15, 2025 15:15
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.

4 participants