[Build-common-hackers] Running scons twice with cdbs

Jonas Smedegaard dr at jones.dk
Fri Oct 29 14:18:46 UTC 2010

On Fri, Oct 29, 2010 at 03:05:29PM +0200, Adrian Knoth wrote:
>does cdbs support [building lib twice, one time with DEBUG=0 and a 
>secondtime with DEBUG=1]? Perfect solution would be to have both libs 
>in the same package (libffado2), but if need be, I could live with 
>libffado-dbg (I guess that's what cdbs clearly supports, given that we 
>build ardour-i686 and ardour from the same source).

There are two appraches: *-dbg package and flavors.

I believe CDBS more or less automagically enables debug when the target 
package name ends in -dbg.  I haven't played with that myself, however, 
as I still do not fully understand what it implies.

The other approach, flavors, is a new one, not supported in all 
snippets, and particularly not in the scons.mk snippet.

so all in all, I suspect your approach is as simple as possible at the 
moment. :-)

I am interested in learning more about -dbg packages, and also 
interested in improving the support for flavors.

  - Jonas

   * Jonas Smedegaard - idealist & Internet-arkitekt
   * Tlf.: +45 40843136  Website: http://dr.jones.dk/

   [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20101029/12f95dc4/attachment.pgp>

More information about the Build-common-hackers mailing list