Closed Tangent128 closed 9 years ago
The luarocks-builtin
branch contains an initial stab at a builtin rockspec. As of the time of writing, only the core SDL module is built, and there's no provision for automatically finding the SDL2 framework on OSX.
The luarocks-builtin
branch rockspec seems to be complete enough for Linux, will be merging that into master in a day or three.
Windows hopefully works with some manual configuration to find the headers, OS X probably needs some platform overrides still.
It would be nice if Luarocks could build Lua-SDL2 without requiring Cmake as a build dependency.
Besides the general advantage of one less dependency, Luarocks is probably smarter about the correct way to build Lua modules for different platforms.
Keep in mind that we need to link the platform's SDL2.