-
Notifications
You must be signed in to change notification settings - Fork 203
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
Module list is duplicated/hard coded so can't be modified #1287
Comments
That's not what this is - this is just for the API. One can still customize the implementation of any module. The API needs to have some standards/baselines - while the implementation can be overridden, it needs to conform to the same API. The list in this file is what defines the notion of "cfe core API" as a whole. I can see where this might not work if the name was changed, though. Is the intent that one not only wants to override the module implementation, but also change its name i.e. to have the "tbl" functions provided by a module not called "tbl"? |
It's pulling in the include directories and compile definitions of the hard coded modules... that's broken. |
Not necessarily the ones in The assumption here is that it (i.e. the user provided module) will have the same target name, is that not correct? |
Correct, projects should be able to use whatever names they want. The previously working example (see #879). |
They should be able to remove/add/replace modules... really just need to supply implementations of all the APIs. |
They can remove/add/replace modules, that all works. The problem is that we need to know whether that module is intended to provide something that is conceptually part of the "core_api" or if it is some user/mission thing that is not part of the core api. Case in port, for #879 - we don't know the intent of a module that is named This (perhaps incorrectly) assumed that if one was overriding the Would an alias target be OK? That might work... |
To clarify that "alias" thought a bit - what I'd suggest is that in the CMakeLists.txt for the
|
Separate the list of CFE core interface modules (e.g. core_api) from the list of CFE core implementation modules (e.g. msg). This allows the content of core_api to be expanded to include any additional modules the user has added to cFE core locally.
Fix #1287, split interface and implementation modules
Fix nasa#1287, split interface and implementation modules
Is your feature request related to a problem? Please describe.
Part of the intent of modules was to be able to replace them. Hard-coding of the module list at:
cFE/modules/core_api/CMakeLists.txt
Line 18 in eaa343c
defeats this capability.
Describe the solution you'd like
Define the module list in a way it can be modified/customized by configuration.
Describe alternatives you've considered
None
Additional context
Currently breaks message header customization.
Requester Info
Jacob Hageman - NASA/GSFC
Ping - @excaliburtb
The text was updated successfully, but these errors were encountered: