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

Re: CMake out-of-tree build systems and packaging: example needed



On Sun, Apr 14, 2013 at 8:39 AM, Игорь Пашев <pashev.igor@gmail.com> wrote:
> 2013/4/14 Tom Browder <tom.browder@gmail.com>:
>> I am trying to get a package in shape for BRL-CAD which currently
>> tests only an out-of-tree build.  Can anyone point  to an example of
>> such a requirement being implemented in an existing Debian package?
>>
>
> Debhelper has options -B for build dir and -S for source dir, for example:
> dh_auto_configure -B some/dir -- <options for configure or CMake>
>
> In simple case this should work:
>
> %:
>     dh $@ -B some/dir
>
> Here is more complex example (but with autotools):
> https://github.com/ip1981/open-axiom-debian/blob/master/debian/rules

Excellent help and pointer!  Thank you very much.

Best regards,

-Tom


Reply to: