[CMake] CMake and Lua

Alexander Neundorf a.neundorf-work at gmx.net
Mon Mar 3 18:53:58 EST 2008


On Saturday 01 March 2008, Miguel A. Figueroa-Villanueva wrote:
> On Fri, Feb 29, 2008 at 11:09 AM, Bill Hoffman wrote:
> > Rodolfo Schulz de Lima wrote:
> >  > The main issue with CMake script isn't when writing a build script,
> >  > but when writing auxiliary stuff, like a more elaborate Find*.cmake.
> >  > Just look at FindwxWidgets.cmake to see what I mean...
> >
> >  Thanks for the feedback.  I am wondering if there is something that can
> >  be done in CMake c++ code to make writing a Find module like wx widgets
> >  easier.   Maybe regular expressions in the find_* commands would help.
> >  Lots of the verbosity comes from finding different names for libraries
> >  and paths.  I think that has come up on the list or the bug tracker
> >  recently.   The new break and return could clean it up some more, and
> >  the use of lower case would make it look nicer.
> >
> >  -Bill
>
> <quote from another related thread>
>
> On Fri, Feb 29, 2008 at 1:22 PM, Rodolfo Schulz de Lima wrote:
> > Bill Hoffman escreveu:
> >  > Enjoy!
> >
> >  Wow, that must be a world record... I've mentioned the problem at 10:57

Don't think so, there are 4 hours in between, Bill and/or Brad have already 
proven before that they can be even faster than that :-)

> >  (Brazilian Standard Time), and the solution got committed at 14:18
> >  (BRST). Guinness anyone?? I which my cable TV customer support were that
> >  fast...thanks a lot Bill.
>
> And you all thought Bill was so resistant to change :P
>
> I really think this is the stuff that needs to be addressed and
> obviously Bill and the rest of the CMake developers are very willing
> to accomodate this. That is, things like relaxing the if/else
> constructs, scoping, return, break, lowercase commands, etc. are the
> components we need to help facilitate writing more complex stuff in
> CMake scripting.


Yes, maybe we should now simply wait a bit and see how new cmake scripts with 
the new features actually look. What we all know are cmake scripts using 
cmake 2.2/2.4 syntax, cmake cvs has all the mentioned improvements, maybe 
these are already enough to make the scripts easier to read/write and more 
scalable (e.g. scoped vars and functions).

Alex


More information about the CMake mailing list