I am working the path for the following rockspec and wonder
https://gist.github.com/lubyk/8718453#file-gistfile1-lua-L27
Is there some other possibility that allows the following syntax ?
modules = {
-- Plain Lua files
['lub' ] = 'lub/init.lua',
['lub.Autoload' ] = 'lub/Autoload.lua',
['lub.Dir' ] = 'lub/Dir.lua',
['lub.Template' ] = 'lub/Template.lua',
-- C++ modules
['lub.core' ] = {
sources = {
'src/bind/dub/dub.cpp',
'src/bind/lub_core.cpp',
'src/lub.cpp',
*linux = { 'src/linux/lub.cpp' },* -- extra sources for linux
},
incdirs = {'include', 'src/bind', 'src/vendor'},
* libraries = { 'stdc++', *
* linux = { 'rt' }, *-- extra libraries for linux
* },*
},
},
Cheers,
Gaspard
------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable
security intelligence. It gives you real-time visual feedback on key
security issues and trends. Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
Luarocks-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers