Mailinglist Archive: opensuse-packaging (48 mails)

< Previous Next >
[opensuse-packaging] Packaging a (mostly) header only C++ library
Hi list,

I would like to package a (kind-of) header only C++ library
(https://github.com/emilk/loguru). The problem is, that it actually
ships a cpp file in it's source tree (so I guess it needs to be compiled
to a shared library?).

The issue at hand is, that loguru is designed to be embedded in your C++
project (there is *a lot* of compile time switches) and even running the
test suite from a shared library requires a lot of patching of the
source tree.

What would be the correct procedure for packaging? Create a shared
library nevertheless? Or create multiple libraries with some common
compile time switches? Or just install the sources into the file system?


Thanks in advance,

Dan

--
Dan Čermák <dcermak@xxxxxxxx>
Software Engineer Development tools
SUSE Linux GmbH, Maxfeldstr. 5, D-90409 Nürnberg
Tel: +49-911-74053-0; Fax: +49-911-7417755; https://www.suse.com/
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284
(AG Nürnberg)
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups