[x] I signed and emailed the appropriate Contributor License Agreement to GSFC-SoftwareRelease@mail.nasa.gov and copied cfs-program@lists.nasa.gov.
Describe the contribution
Adds a cmake option for compression sub-component implementation. This replaces the FM_INCLUDE_DECOMPRESS option in fm_platform_cfg.h.
Currently available options are:
fslib (should be equivalent to FM_INCLUDE_DECOMPRESS set)
none (should be equivalent to FM_INCLUDE_DECOMPRESS unset)
zlib (stub for future work)
This lays the groundwork to support compression in addition to decompression, using an external 3rd part library if desired.
Fixes #73
Testing performed
Build and run all tests
Expected behavior changes
Compression option no longer in header file - now in a CMake option with source selection. Basically equivalent though.
System(s) tested on
Debian
Additional context
All conditional compilation (#ifdef) around compression has been removed. This comprised a fair bit of code in FM that was not being tested in any workflow because compression is usually disabled.
Contributor Info - All information REQUIRED for consideration of pull request
Joseph Hickey, Vantage Systems, Inc.
Checklist (Please check before submitting)
Describe the contribution Adds a cmake option for compression sub-component implementation. This replaces the FM_INCLUDE_DECOMPRESS option in fm_platform_cfg.h.
Currently available options are:
This lays the groundwork to support compression in addition to decompression, using an external 3rd part library if desired.
Fixes #73
Testing performed Build and run all tests
Expected behavior changes Compression option no longer in header file - now in a CMake option with source selection. Basically equivalent though.
System(s) tested on Debian
Additional context All conditional compilation (
#ifdef
) around compression has been removed. This comprised a fair bit of code in FM that was not being tested in any workflow because compression is usually disabled.Contributor Info - All information REQUIRED for consideration of pull request Joseph Hickey, Vantage Systems, Inc.