[CMake] CMake with Lua Experiment

Brandon Van Every bvanevery at gmail.com
Wed Nov 28 04:04:27 EST 2007


On Nov 28, 2007 3:59 AM, Brandon Van Every <bvanevery at gmail.com> wrote:
>
> For any given CMake function, we know what argument types we expect.
> The programmer is responsible for dereferencing, we're not going to do
> it for them.  We just have to parse the keywords like STATIC, and pay
> attention to fixed positions at the beginning of an argument list.  In
> fact, come to think of it, "if it's a CMake reserved function, hand it
> off to a special argument processor," would solve much of the problem.
>  Then you're just down to changing Lua table constructors, so that
> they don't require quotes.

Unfortunately it has to work for user created functions also, so I
guess it's not quite so simple.


Cheers,
Brandon Van Every


More information about the CMake mailing list