3 ms·
> I am personally very interested in the idea of allowing packages to mark their dependencies as either "shared" or "internal". We could then disallow shared de
by Too 10y ago
> I am personally very interested in the idea of allowing packages to mark their dependencies as either "shared" or "internal". We could then disallow shared dependencies from duplicating, but allow internal dependencies to duplicate freely.
CMake has this feature. You can mark dependencies as either public, private or interface. With public meaning that sub dependencies can be reached through public interfaces and private that they just stay inside the program and can be replaced while still maintaining full backwards compatibility with your public interface.
- deleted 10y ago[deleted]