Skip to content

Limit Coverage Flags to Specific Target #64

Closed
@threeal

Description

@threeal

This pull request addresses the concern raised in the following line by suggesting the restriction of coverage flags to a specific target.

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fprofile-arcs -ftest-coverage -fPIC -O0")

Currently, the flags are set globally, potentially impacting all targets. By implementing this change, we aim to mitigate any unintended effects on other targets.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions