2011/10/20 Rolf Eike Beer <e...@sf-mail.de>: >> I'm starting to use cmake and I will have to rely on it pretty much in >> the future. >> >> I'm a bit overwhelmed by the quantity of variables / functions, is there >> a way >> to get an automatic list of all of them? >> >> It would be nice to improve the cmake-mode.el (for emacs) to recognise >> as much as possible, and propose some completion possibly.
I'm not emacs-lisp expert but I may take a look. If you have the knowledge yourself, just propose a patch and I'll review it. In the meantime if you are a bash user you try the cmake-completion module: http://cmake.org/gitweb?p=cmake.git;a=blob;f=Docs/cmake-completion;h=011f3fa93be3ac38b657b0f31a17291d32f7043b;hb=HEAD it may helps you to "browse" possible commands and vars: $ cmake --help-command se<TAB><TAB> separate_arguments set_source_files_properties set set_target_properties set_directory_properties set_tests_properties set_property $ cmake --help-command se >> >> Also a nasty grep of the source code that generates some static list >> might be fine... > > cmake --help-command-list the cmake-completion script is using this kind of commands in order to propose completions. -- Erk Membre de l'April - « promouvoir et défendre le logiciel libre » - http://www.april.org -- 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