Title: Samsung Enterprise Portal mySingle

It is working well.

 

------- Original Message -------

Sender : Raphael Kubo da Costa<[email protected]>

Date : 2014-03-18 18:37 (GMT+09:00)

Title : Re: [Dev] [GBS] How to create a cmake cache entry?

 

DongHyuk Yang writes:

> Samsung Enterprise Portal mySingle
>
> I am trying to use "--define" option of GBS:
>
> # gbs build -A i586 --define 'buildtype Debug'
>
> The define(buildtype) will be transferred to the macro of 'rpmbuild'
>
> [ 7s] -
> ----------------------------------------------------------------
> [ 7s] ----- building aul.spec (user abuild)
> [ 7s] -
> ----------------------------------------------------------------
> [ 7s] -
> ----------------------------------------------------------------
> [ 7s] + exec rpmbuild \
> --define 'buildtype Debug' \
> --define '_srcdefattr (-,root,root)' \
> --nosignature --target=i586 \
> --define '_build_create_debug 1' \
> ....
>
> And I will use the macro(buildtype) on .spec file:
>
> %cmake . -DCMAKE_BUILD_TYPE=%{buildtype}

Is it not working?

_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev

 

 

 

_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev

Reply via email to