[Debian-med-packaging] Cmake help for htqc needed

Leopold Palomo-Avellaneda leo at alaxarxa.net
Tue Jun 23 07:51:43 UTC 2015


El Dilluns, 22 de juny de 2015, a les 20:38:40, Andreas Tille va escriure:
> On Mon, Jun 22, 2015 at 03:49:39PM +0200, Gert Wollny wrote:
> > I've attached a patch that should do the trick. (I'm on a computer
> > without the ssh-keys for Debian git write access).
> 
> Works perfectly.  Thanks a lot.
> 
> Now some other questions raised:
> 
>   1. How can I switch to dynamic linking of the set of executables?

AFAIK in the htqc sources there are two static libraries: htio2 and ht_common.

These two are defined in this file:
src/CMakeLists.txt

add_library(htio2 STATIC ${HTIO_SOURCE_FILES} ${JUCE_SOURCE_FILES})

add_library(ht_common STATIC ${HTQC_SOURCE_FILES})


dropping the STATIC word the libraries in Debian would be dynamic (.so). If 
you expose that libraries (libXXXX and libXXXX-dev) remember that then to 
follow debian policies, you must add sonames. It you need it, I write you the 
line needed.


>   2. How can I sensibly trigger the test suite?

I'm not an expert, but in the CMakelist in the root you must add:

enable_testing()

before add_subdirectory stanzas.

After, just:
make test

I think that dh_auto_test should work.


Leopold



> Kind regards
> 
>         Andreas.

-- 
--
Linux User 152692     GPG: 05F4A7A949A2D9AA
Catalonia
-------------------------------------
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20150623/941e3573/attachment.sig>


More information about the Debian-med-packaging mailing list