[CMake] Re: CMake script vs. Lua
Brandon Van Every
bvanevery at gmail.com
Fri Dec 14 21:00:35 EST 2007
On Dec 14, 2007 6:04 PM, Alan W. Irwin <irwin at beluga.phys.uvic.ca> wrote:
>
> One of the huge advantages of the CMake scripting that I don't believe has
> been emphasized enough in this discussion is it is a small, very easy to
> learn language. I like it that way, and I believe that quality attracts
> others to CMake as well.
That's mostly true. But the corner cases of (1) dealing with strings,
lists, quotes, and escapes, and (2) dealing with CMake script wrappers
in ADD_CUSTOM_COMMAND, are unnecessarily painful and esoteric.
Currently one learns these things from the school of hard knocks.
Chapter Oriented documentation would go a long ways to addressing
them. Automagical CMake script wrapping in an ADD_CUSTOM_COMMAND
would help a lot with unifying the language also.
As for other things I appreciate about CMake script: I like that I can
easily use lists. As long as I adopt a convention for what's a list
and what's a string. And as long as I don't care about semicolons ;
in my list elements.
Cheers,
Brandon Van Every
More information about the CMake
mailing list