[cmake-developers] lua bindings?

Brad King brad.king at kitware.com
Fri Aug 3 16:55:56 EDT 2012


On 08/03/2012 04:33 PM, Eric Wing wrote:
> Yes, there was a big long thread on the CMake lists back in 2008-ish

The main two threads started here:

 http://www.cmake.org/pipermail/cmake/2007-November/017347.html
 http://www.cmake.org/pipermail/cmake/2007-November/017971.html

Ken's experiment only scratched the surface.  There are many
very hard problems with trying to replace the CMake language
with Lua directly in CMake itself.  For historical reasons
a large part of the build system generators are tied to the
CMake language implementation.  The language has some unique
semantic properties which cannot be reproduced cleanly in Lua,
and we probably wouldn't want them in a new language anyway.

Direct replacement is not feasible.  Perhaps some major internal
redesign and refactoring could possibly split the generation
part off into a private SDK shared by the existing language
and some new language, but it would be a huge effort.

As for your first option, a "zero-impact wrapper", what do you
envision would be the benefits?

-Brad



More information about the cmake-developers mailing list