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

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



Hi Andreas,

In my past experience, I had been told that library packages should no
longer ship static libraries. It makes your life easier to only build
shared libraries.

Regards,
Kai-Chung Yan

2016-04-08 23:30 GMT+08:00 Andreas Tille <andreas@an3as.eu>:
> Hi,
>
> 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.
>
> Besides this I'm wondering how I could get rid of the gtest code
> copy and run the test anyway.
>
> Kind regards
>
>      Andreas.
>
>
> [1] https://anonscm.debian.org/git/debian-med/libsdsl.git
>
> --
> http://fam-tille.de
>



-- 
/*
* 殷啟聰 | Kai-Chung Yan
* 一生只向真理與妻子低頭
* Undergraduate student in National Taichung University of Education
* LinkedIn: <https://linkedin.com/in/seamlik>
* Blog: <http://seamlik.logdown.com>
*/


Reply to: