[cmake-developers] lua bindings?

Eric Wing ewmailing at gmail.com
Fri Aug 3 16:33:18 EDT 2012


On 8/2/12, Doug <douglas.linder at gmail.com> wrote:
> I'm quite curious about the possibility of writing a lua binding for cmake.
>
> There are two possible ways to go:
>
> 1) Create a set of discrete lua bindings which actually invoke cmake
> itself.
>
> 2) Integrate lua into cmake itself.
>

Yes, there was a big long thread on the CMake lists back in 2008-ish
("CMake and Lua
 "). It prompted Dr. Ken Martin (Kitware) to try an experiment of
embedding Lua in CMake which actually successfully proved the binding
concept. Unfortunately, Kitware decided they didn't want to put the
resources into it. A few of us forked the project, but we failed to
continue to finish it. But the source is still out there.

Some info is here:
http://playcontrol.net/ewing/jibberjabber/cmake_lua.html
and
http://www.cmake.org/Wiki/CMake:Experiments_With_Lua

I am still very interested in seeing this happen, but I had to pick to
between binding Lua to Cocoa (LuaCocoa) or CMake and I did LuaCocoa.
And now, I am now preoccupied with porting LuaCocoa to iOS. (And we
also have a lot of pain right now with CMake and the
ever-changing/breaking Xcode.)


-Eric
-- 
Beginning iPhone Games Development
http://playcontrol.net/iphonegamebook/



More information about the cmake-developers mailing list