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

Re: Adding cmake options to dh



Hi Mattia,

On Fri, Aug 16, 2019 at 04:45:50PM +0200, Mattia Rizzolo wrote:
> On Fri, 16 Aug 2019, 4:31 pm Marc Haber, <mh+debian-mentors@zugschlus.de>
> wrote:
> > To enable a feature I need, upstream suggests
> > cmake -D METEREXEC_ROOTACCESS=true .
> >
> > Where would I add this?
> 
> 
> override_dh_auto_configure:
>     dh_auto_configure -- -DMETEREXEC_ROOTACCESS=true

Works. Thanks!

> The way to go with that would be for you to set DH_VERBOSE, notice *which*
> tool issue a particular command (in this case it's _confugure, not _build),
> then know that you can just append options to the command like I did above.

Is the latter, just appending options to the dh_foo command line,
documented anywhere, and how do I know which of the emitted commands are
the extra arguments added to? Or is this basically trial-and-error?

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421


Reply to: