12.03.2012, 22:49, "Jason Perkins" <star...@industriousone.com>: >> Also, how %(file.abspath) and similar patterns are planned to work? > > I will add this to the wiki, since it going to have to be as part of 4.5. > > My intention is to provide a few context objects: sln, prj, cfg, and file. > You can then access any field of those objects: > > %(sln.name) > %(prj.location) > %(cfg.targetdir) > > The contents of the $() would be run through loadstring() and executed at > token-replacement time, so in theory more complex replacements could be used. > > %(sln.name:gsub(' ', '_'))
Seems to be powerful enough. I propose additional variable files with complete list of input files for rule for current configuration. It could be used for "combined" compilations like sometool %(files) -o combined.out -- 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