[CMake] Need a full list of reserved words
Michael Jackson
mike.jackson at bluequartz.net
Sun Oct 30 16:08:00 EDT 2011
I have a C++ program that I use to generate the list for CMakeEd Eclipse Plugin:
git://scm.bluequartz.net/CMakeDocParser.git
You will need boost and the output from "cmake --help-full out.docbook" as the input.
You can hack the code to get what you need. I also have it generate the TextMate bundle also. I had in mind one day that this would generate all of these different files for things like TextMate, CMakeEd, Notepad++, vi, emacs, Kate and all the others. One day.
___________________________________________________________
Mike Jackson www.bluequartz.net
Principal Software Engineer mike.jackson at bluequartz.net
BlueQuartz Software Dayton, Ohio
On Oct 30, 2011, at 3:38 PM, Robert Dailey wrote:
> Thanks, this is awesome and gets me most of what I need. I'm missing one more thing though.
>
> I need a list of all reserved words used in all commands as parameters. For example:
>
> list( APPEND )
>
> "APPEND" here is a reserved word. There are also some for set_target_properties(), and many others.
>
> I need a list of all of these, across all commands.
>
> ---------
> Robert Dailey
>
>
> On Sun, Oct 30, 2011 at 2:23 PM, John Drescher <drescherjm at gmail.com> wrote:
> On Sun, Oct 30, 2011 at 3:14 PM, Robert Dailey <rcdailey at gmail.com> wrote:
> > I'm trying to help the Notepad++ author update his list of keywords for
> > CMake since it is pretty out of date, however I don't want to manually have
> > to type up a list of all commands, variables, properties, and
> > options/parameters.
> > Is there a list of everything in the CMake source code someone can just
> > paste here? I can then send that on to the Notepad++ developers to get the
> > list updated.
> > Thanks!
> >
>
> You can do a
>
> cmake --help-command-list
>
> cmake --help-variable-list
>
> cmake --help-property-list
>
> to get this answer.
>
> John
>
> --
>
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
More information about the CMake
mailing list