Skip to content

Add ${ARGN} to add_cfe_coverage_test in arch_build.cmake #1490

@asgibson

Description

@asgibson

Is your feature request related to a problem? Please describe.
Trying to build CF unit tests with additional libraries through add_cfe_coverage_test does not work because ARGN is not added in the target_link_libraries call.

Describe the solution you'd like
Add ${ARGN} into target_link_libraries call in add_cfe_coverage_test so that additional libraries can be given where necessary.

Describe alternatives you've considered
Writing my own coverage test addition for my use case, but just adding the ${ARGN} in add_cfe_coverage_test works, so why re-invent?

Additional context
The addition should be transparent to any other calls currently in use; it is opt in only. ARGN should be empty in current use cases (it could not be, but that is unlikely).

Requester Info
Alan Gibson NASA/GSFC 587

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions