Created cache entry(CMAKE_BUILD_TYPE) successfully if I modified .spec file like as following:
%cmake . -DCMAKE_BUILD_TYPE=Debug
But I actually wonder about cmake cache entries set by GBS.
There are default cmake cache entries like as CMAKE_VERBOSE_MAKEFILE, CMAKE_INSTALL_PREFIX and so on when using GBS.
Are those default entries set by GBS?
Can I modified those default cmake cache entries?
------- Original Message -------
Sender : Raphael Kubo da Costa<[email protected]>
Date : 2014-03-10 20:50 (GMT+09:00)
Title : Re: [Dev] [GBS] How to create a cmake cache entry?
DongHyuk Yang
> I want to create a cmake cache entry(CMAKE_BUILD_TYPE) when I build a
> project through GBS.
>
> Is it possible to create a cmake cache entry like as following log
> when building a project through GBS ?
[...]
> [ 11s] + /usr/bin/cmake -DCMAKE_VERBOSE_MAKEFILE=ON -
> DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib -
> DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib
> -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share
> -DCMAKE_SKIP_RPATH:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=ON -
> DCMAKE_BUILD_TYPE=Debug .
Doing this should create the cache entry you want. Did it not work for
you?
_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev
|
|
_______________________________________________ Dev mailing list [email protected] https://lists.tizen.org/listinfo/dev

