> One more feature request: couldn't config.getuniqueobjdir() be more generic?
Sure. I'd like to see an automatic default for the build target too. Feel free to file a feature request for it. On Jan 27, 2012, at 8:10 AM, Konstantin Tokarev wrote: > > 27.01.2012, 16:26, "Jason Perkins" <star...@industriousone.com>: >> If you take a look at src/project/project.lua, you'll see that you can now >> pass a specific field name into eachconfig() or getconfig(): >> >> cfg = project.getconfig(prj, "Debug", nil, "defines") > > Thanks for explanation. > >> >> This will return a configuration object with only that field set. >> >> Also, baking now only does the configuration flattening. All of the other >> stuff—like computing unique object directories, build and link targets, >> converting paths—happens on-demand later. For example >> config.getuniqueobjdir() computes the object directories, so if you don't >> need it you don't have to pay the cost. > > One more feature request: couldn't config.getuniqueobjdir() be more generic? > > Right now it's tied to "objdir" which represents only one type of build > artifacts. In Qt add-on I have 4 other types of artifacts with output dirs > set by "mocdir", "uidir", "rccdir", and "qmdir". With introduction of custom > build rules, number of artifact types won't be limited, and it could be > desirable to separate them reliably for different configurations. ------------------------------------------------------------------------------ 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