You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow offline builds for Linux distribution packaging #106
Currently the CMake configuration expects to download the sendspin-cpp library during build time, https://github.com/Sendspin/sendspin-cpp-cli/blob/main/CMakeLists.txt#L59. This however is incompatible with Linux distributions that would like to package this tool as they require offline builds, so no network access once the build has started. Such distributions would also already provide sendspin-cpp as either a shared or static library so there would be no need to download it from within CMake either.
It would be great if this usecase were supported and downloading during CMake execution was made optional.
Done in #127 for the next release. An offline build is documented in the README and in the wiki's Build from source section: point CMake at local copies of each fetched dependency with FETCHCONTENT_SOURCE_DIR_<NAME> and set FETCHCONTENT_FULLYDISCONNECTED=ON. We verified a configure and build with no network access. The default online build is unchanged.
Building against a system-installed sendspin-cpp isn't possible yet, because the library doesn't install a CMake package config. That's an upstream change in sendspin-cpp.
Activity
chrisuthe commentedon Nov 19, 2026
Done in #127 for the next release. An offline build is documented in the README and in the wiki's Build from source section: point CMake at local copies of each fetched dependency with
FETCHCONTENT_SOURCE_DIR_<NAME>and setFETCHCONTENT_FULLYDISCONNECTED=ON. We verified a configure and build with no network access. The default online build is unchanged.Building against a system-installed sendspin-cpp isn't possible yet, because the library doesn't install a CMake package config. That's an upstream change in sendspin-cpp.
PureTryOut commentedon Nov 21, 2026
Is this going to happen? Because for distributions that would be the ideal scenario.
It would be great for all the other deps to be able to use system versions as well rather than having to vendor them all.