[yocto] bitbake with cmake recipe

Zafrullah Syed zafrullahmehdi at gmail.com
Thu Aug 22 06:40:56 PDT 2013


Hi Ross,

Is this the correct way to write my recipe with cmake?

DESCRIPTION = "cameracapture application"
SECTION = "examples"
LICENSE = "CLOSED"
PR = "r0"

DEPENDS += "opencv"

SRC_URI = "git://
https://github.com/zafrullahsyed/cameracapture.git;protocol=https;tag=v0.1"

EXTRA_OECMAKE=""

do_configure() {
 cmake ../
}

inherit pkgconfig cmake

Thanks & Regards,
Zafrullah.


On Thu, Aug 22, 2013 at 12:35 PM, Zafrullah Syed
<zafrullahmehdi at gmail.com>wrote:

> Hi,
>
> My recipe is: http://pastebin.com/xiFdYHNr
>
> Is the cmake recipe will be in this
> location? /home/siguser/yocto/poky/meta-openembedded/meta-oe/recipes-support/opencv
>
>
> On Thu, Aug 22, 2013 at 12:31 PM, Burton, Ross <ross.burton at intel.com>wrote:
>
>> On 22 August 2013 11:30, Zafrullah Syed <zafrullahmehdi at gmail.com> wrote:
>> > I am trying to integrate my own package which should use cmake.
>> > I regularly use do_compile() and do_install().
>>
>> Pasting your recipe would be useful, but there's a cmake class you can
>> simply inherit that should just work.
>>
>> Ross
>>
>
>
>
> --
> Regards,
> Zafrullah Syed
>
>


-- 
Regards,
Zafrullah Syed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20130822/7af067df/attachment.html>


More information about the yocto mailing list