On Nov 26, 2007 1:18 PM, Ken Martin <[EMAIL PROTECTED]> wrote:
>
>
> Just heading down this path as an experiment to get a better feel for it.
> Posted a snapshot of the source code on the Wiki
> http://www.cmake.org/Wiki/CMake:Experiments_With_Lua The biggest issues I
> see are 1) keeping two languages around sounds like more work and who needs
> more work 2) variables in lua are not variables in CMake and vice versa.
> The cm_configure_file command only configures cmake variables, this could be
> a good thing in one sense :)
I noticed the "unpack" command.
sources = {
"simpleLib.cxx",
"simpleCLib.c",
"simpleWe.cpp"
}
cm_add_library ("simpleLib", "STATIC", unpack(sources));
Would this be necessary / paradigmatic in Lua? In CMake I just use lists.
Cheers,
Brandon Van Every
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake