lucy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Wellnhofer <wellnho...@aevum.de>
Subject Re: [lucy-dev] Build support classes for C extensions
Date Wed, 04 Apr 2012 19:20:39 GMT
On 01/04/2012 00:42, Marvin Humphrey wrote:
> On Sat, Mar 31, 2012 at 12:15 PM, Nick Wellnhofer<wellnhofer@aevum.de>  wrote:
>> We could add all the Clownfish build parameters as additional Module::Build
>> properties (see
>> https://metacpan.org/module/Module::Build::API#add_property). My idea is
>> that it might be more maintainable to only add a single property that points
>> to a separate config object. Then we can add new parameters without touching
>> Module::Build internals, for example.
>
> +1 for a separate config object as a single property.

I posted some initial patches to LUCY-215 (patches 0004 - 0013):

https://issues.apache.org/jira/browse/LUCY-215

I took a simpler approach by using a hashref as config object. 
Module::Build generates very nice accessors for them.

Nick

Mime
View raw message