On 05/02/13 20:56, thomasg wrote:
> On Tue, Feb 5, 2013 at 5:19 PM, Enlightenment SVN
> <no-re...@enlightenment.org> wrote:
>> Log:
>> Efl: Ship cmake configs (like pkg-config).
>>
>>    This should make it easier for applications to use efl with cmake.
>>    It seems to work with my tests. It's ugly and redundant but it's the first
>>    step. Not all the components are supported at the moment.
>>
>> Author:       tasn
>> Date:         2013-02-05 08:19:37 -0800 (Tue, 05 Feb 2013)
>> New Revision: 83637
>> Trac:         http://trac.enlightenment.org/e/changeset/83637
>>
>
> Hi Tom,
>
> may I ask what the point of this is?
> Cmake has pkgconfig-support via FindPkgConfig, and it works fine for me.
> Also it seems to be simpler to use than this, e.g.:
> INCLUDE(FindPkgConfig)
> pkg_check_modules(EINA REQUIRED eina)
> include_directories(${EINA_INCLUDE_DIRS}
>

Yes. As I've said, at the moment it's quite horrible and uses pkg 
config, in the future it may not.

Using cmake config files is cleaner for cmake users and also will be 
available on platforms that don't have pkg-config (once I fix it 
internally). At the moment it's just a convenience that saves unneeded 
duplication.

I don't quite understand what you meant by: "Also it seems to be simpler 
to use than this, ...".

--
Tom.


------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to