[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Please help creating shared *and* static library with cmake



Andreas Tille <andreas@an3as.eu> writes:
> I need to package libsdsl[1] as some precondition for a Debian Med
> package.  The default cmake build only creates a static library and I
> found a patch to create a shared library.  But since library packages
> should include both I wonder how to get both shared and static library
> without doing to much tricky things.

For the common case, I see no real reason to include both; having just
the dynamic libs and the header is enough, IMO.

The only use case I could imagine is to create an executable that can
run outside of Debian.

Best

Ole


Reply to: