On Tue, Aug 27, 2013 at 11:55 AM, Tom N Harris <tellia...@whoopdedo.org> wrote:
> Lake isn't a defined backends. But it could be if LR had build-time
> dependencies. This is on the roadmap, isn't it?

It should not be difficult - in fact such a backend could be delivered
as a rock!

Then one has a reasonably rich Lua scripting environment to do system
discovery; (Lake grabs plugins using require() so they can in turn
become rocks)  Can always detect version from spawing cmd.exe
suitably.

> ps. I still say it would be easier to build one universal module that detects
> the available functions at runtime using GetProcAddress. See
> http://blogs.msdn.com/b/vcblog/archive/2012/03/13/10282397.aspx

Windows is the poor cousin when it comes to discoverability. Even a
little module that just exposed that and LoadLibrary would be so
useful for this task.  I was also experimenting with a Lake plugin
that did CMake-style discovery - experimental compilation and then
caching the results. Only about 200 lines, so shows promise [2]

[1] Lake is a relatively small dependency, but it would be cool to be
able to specify 'build_dependencies', 'test_dependencies' etc.
[2] unlike CMake, I have a proper language at my disposal ;)

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to