[CMake] List of Commands/Constants/Keywords
Mike Jackson
mike.jackson at imts.us
Sun Nov 19 17:07:32 EST 2006
Well I downloaded CMakeCommands.txt from the cmake site and then did:
grep -e '\(<code>\)\(.*\)\(</code>\)' -o CMakeCommands.html
This got most of the junk out of the way. Cleaning it up in a text editor
finishes the job and gets me a list.
Mike
On 11/19/06 3:21 PM, "Bill Hoffman" <bill.hoffman at kitware.com> wrote:
> Mike Jackson wrote:
>> cmake --help-commands doesn't list anything: Here is the output:
>> [_Mike]$ cmake --help-commands
>> CMake Error: The source directory "/home/welsh/For_Mike/--help-commands"
>> does not exist.
>> Specify --help for usage, or press the help button on the CMake GUI.
>>
>> I did take a look at the vim spec and that got me started. Most of the
>> commands are now highlighted properly.
>>
>> The list of CMAKE_* would be helpful to list in the language definition so
>> that those constants show up differently and I am working on that part.
>>
>> I was hoping that there was someway to either run a command or grep the
>> cmake sources and get a definitive list of commands.
>>
>> Same thing for a list of CMAKE_* constants.. And any other constants that
>> Cmake defines.
>>
> Sorry, you can do cmake --help-command foo, but you want cmake
> --help-command-list.
> The script Brandon sent is as good as it gets right now with variables.
>
> -Bill
>
>
More information about the CMake
mailing list