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

Inconsisent search paths used for mission-provided files #2289

Closed
jphickey opened this issue Apr 12, 2023 · 0 comments · Fixed by #2290
Closed

Inconsisent search paths used for mission-provided files #2289

jphickey opened this issue Apr 12, 2023 · 0 comments · Fixed by #2290

Comments

@jphickey
Copy link
Contributor

Is your feature request related to a problem? Please describe.
The CMake build system allows the user to provide customized versions of particular files by creating a file of the same name in the defs configuration directory. Specifically this feature is important for configuration header files and table files that are intended to be customized by the user.

The problem is that the search paths/patterns used for the cmake add_cfe_tables() function (for table files) and the generate_config_includefile() function (for headers) are not related at all, which is confusing.

Describe the solution you'd like
The search patterns and search order/priority levels between two functions should be more consistent, ideally use a common file finding function under the hood to implement the search, so the patterns and order will be the same.

Requester Info
Joseph Hickey, Vantage Systems, Inc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants