poco
poco copied to clipboard
Dependency management
When updating the integrated dependencies (PR #4607) of POCO, I noticed that the ZLIB, for example, is available both in the Foundation and in PDF. In my opinion, compiling the code into the libraries is not expedient in the current version. It can happen at this point that different ZLIB versions are used.
At this point, it is advisable to define the libraries in CMake as separate targets. If the dependency code is also to be integrated into static Poco libraries, the targets can be created as object libraries (https://cmake.org/cmake/help/latest/command/add_library.html#object-libraries)
This way:
- the same versions of libraries are used everywhere
- the libraries can be updated more easily
- it is easier to use external or own versions of the libraries
I agree. There is already issue #4358 open for that.
This issue is stale because it has been open for 365 days with no activity.
It's not solved yet.