12.03.2012, 22:38, "Jason Perkins" <star...@industriousone.com>:

> Support for "custom filtering functions" is a good idea, and worthy of a 
> feature request. Per your example, I think it should be written as:
>
>         configuration { qt.ismocableheader }
>
> The function would get called back at bake time with a list of terms, and 
> would return true or false to apply the configuration block.

I'm afraid configuration() is becoming too much overloaded. If meaning of 
configuration "filename" is more or less clear (note that we can have 
collisions between names of files, configurations, platforms, compilers, etc.), 
meaning configuration(function) is dubious.

>
>>  3) Is compilation of generated files supported?
>
> I mentioned on the wiki page that source files listed in the outputs should 
> get fed back into the build, and object files back into the link step. Did 
> you mean something else?

Sorry, I've overlooked this item.

BTW, I think we should ensure that it's possible to create rule chains when 
outputs of one custom rule are used in another. I also think that each rule 
should have separate "exclude" list.

-- 
Regards,
Konstantin

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Premake-users mailing list
Premake-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/premake-users

Reply via email to