nasa / SBN

38 stars 23 forks source link

CMake configuration for selecting modules to compile/install #45

Open CDKnightNASA opened 2 years ago

CDKnightNASA commented 2 years ago

Currently, SBN is tricky to set up in a cFS system. It should be possible to develop a CMake file that would add what is necessary to the build process so that all required modules are compiled and installed.

the-other-james commented 1 year ago

One thing that could make it easier would be to rename the protocol and filter directories to follow the desired convention with the "sbn_" or "sbnf" prefixes (like you do here: https://github.com/nasa/SBN/blob/main/install#L29). This would ensure that the names are unique to sbn, and allow the user to add sbn/modules/protocol and sbn/modules/filter to their CFS_APP_PATH (this can be done with a single line in global_build_options.cmake).

This would have the added benefit of the user no longer needing to setup filesystem links to the protocols/filters they are using (which git does not always handle well).