poco icon indicating copy to clipboard operation
poco copied to clipboard

Dependency management

Open OgreTransporter opened this issue 1 year ago • 1 comments

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:

  1. the same versions of libraries are used everywhere
  2. the libraries can be updated more easily
  3. it is easier to use external or own versions of the libraries

OgreTransporter avatar Jul 21 '24 14:07 OgreTransporter

I agree. There is already issue #4358 open for that.

matejk avatar Jul 21 '24 14:07 matejk

This issue is stale because it has been open for 365 days with no activity.

github-actions[bot] avatar Jul 22 '25 03:07 github-actions[bot]

It's not solved yet.

OgreTransporter avatar Jul 22 '25 16:07 OgreTransporter