zeromq / ingescape

Model-based framework for broker-free distributed software environments. Any language, any OS, web, cloud.
Other
61 stars 14 forks source link

Problem: Static libraries built by our pipelines are linked against dynamic libraries #22

Closed Mathsoum closed 2 years ago

Mathsoum commented 2 years ago

This means that there is no solution to have a fully statically linked stack.

Solution: Update the CMake chain so static libraries can be linked against static dependencies, providing a fully statically linked stack.
This is handled by a CMake variable called STATIC_ZMQ_LINK introduced for this purpose.
STATIC_ZMQ_LINK is ON by default by can be deactivated if needed.

Note: Changes had to be made in the submodules to read the STATIC_ZMQ_LINK variable.