This PR adds logic to CMake and the main codebase to permit compilation without LPCNet by doing the following:
Introducing a new LPCNET_DISABLE environment variable for the build_*.sh build scripts. By default, this is set to 0, but when set to 1 will build freedv-gui without LPCNet.
Introducing a BOOTSTRAP_LPCNET CMake variable. This is intended for use when having CMake compile Codec2 for you (versus using the build scripts).
Forcing the "2020 enable" flag to false when LPCNet isn't compiled in, ensuring that the 2020 modes can't be selected by the user.
Fixing minor compiler failures when not using LPCNet.
This effort is being undertaken in preparation for a potential future deprecation of LPCNet and the 2020 modes (date TBD).
This PR adds logic to CMake and the main codebase to permit compilation without LPCNet by doing the following:
LPCNET_DISABLE
environment variable for thebuild_*.sh
build scripts. By default, this is set to 0, but when set to 1 will build freedv-gui without LPCNet.BOOTSTRAP_LPCNET
CMake variable. This is intended for use when having CMake compile Codec2 for you (versus using the build scripts).This effort is being undertaken in preparation for a potential future deprecation of LPCNet and the 2020 modes (date TBD).