nasa / LC

The Core Flight System (cFS) Limit Checker (LC) application.
Apache License 2.0
30 stars 21 forks source link

Support overriding msgids from a single project file #97

Closed skliper closed 10 months ago

skliper commented 1 year ago

Checklist (Please check before submitting)

Is your feature request related to a problem? Please describe. LC doesn't allow overriding msgids from a single file: https://github.com/nasa/LC/blob/ca4767089966c6ba5b308fa42272763a6881c192/arch_build.cmake#L21-L27

Describe the solution you'd like Interestingly enough, it does support custom overrides for some of the other default files: https://github.com/nasa/LC/blob/ca4767089966c6ba5b308fa42272763a6881c192/mission_build.cmake#L50-L62

Not clear why this pattern wasn't followed for msgids, but it should be supported for all files. Until/unless there's a more generic way to override all msgid default files w/ a single file (should follow this pattern for performance id's also), related to https://github.com/nasa/cFE/issues/2405.

Describe alternatives you've considered It's possible to override w/ a file in target_defs that's a symbolic link, but this additional layer of abstraction/clutter in target_defs is undesirable.

Additional context None

Requester Info Jacob Hageman - NASA/GSFC