[CMake] List of 'Reserved Words'

Alexander Neundorf a.neundorf-work at gmx.net
Tue Nov 18 16:10:15 EST 2008


On Tuesday 18 November 2008, Michael Jackson wrote:
> On Nov 18, 2008, at 3:49 PM, Alexander Neundorf wrote:
> > On Tuesday 18 November 2008, Michael Jackson wrote:
> >> On Nov 18, 2008, at 2:59 PM, Alexander Neundorf wrote:
> >>> On Tuesday 18 November 2008, Michael Jackson wrote:
> >>>> Is there a list of the "reserved words" or Keywords for CMake.
> >>>> Examples would be:
> >>>>
> >>>> AND, NOT, OR, PROPERTIES, CACHE, FORCE..
> >>>
> >>> Not really.
> >>> The one here should be quite current:
> >>> http://websvn.kde.org/trunk/KDE/kdelibs/kate/syntax/data/cmake.xml?revi
> >>>si on=773845&view=markup
> >>>
> >>> Alex
> >>
> >> Cool. That was pretty close to what I was looking for but it looks
> >> like there are some "CMake Variables" in there also (WIN32). I will
> >> have to factor those out.
> >
> > I just noticed it wasn't updated for some time.
> > I added some of the new stuff now.
> > http://websvn.kde.org/trunk/KDE/kdelibs/kate/syntax/data/cmake.xml?view=l
> >og
> >
> > Alex
> > _______________________________________________
> > CMake mailing list
> > CMake at cmake.org
> > http://www.cmake.org/mailman/listinfo/cmake
>
> Thanks. But how exactly are you "adding" those? By Hand or do you have
> some sort of script that parses CMake or .. ? It would be great if we
> could "sync up" the kate and some of the other editors to
> "standardize" on how the syntax coloring is broken down.

Manually.
The commands and properties can be done using the cmake help 
(cmake --help-command-list etc.)
If you have something we'd surely be happy :-)

Alex


More information about the CMake mailing list