summaryrefslogtreecommitdiff
path: root/Auxiliary
Commit message (Collapse)AuthorAgeFilesLines
* Add directory property 'LABELS' and CMAKE_DIRECTORY_LABELS variableBetsy McPhail2017-07-101-2/+1
| | | | | The specified LABELS will be passed down to subdirectories as well as any targets or tests in the directory.
* Add CTEST_LABELS_FOR_SUBPROJECTS as a CTest module and script variableBetsy McPhail2017-07-101-1/+1
| | | | | Use this variable to specify a list of labels that will be reported to CDash as subprojects.
* include_guard: add vim syntax highlighting rulesPavel Solodovnikov2017-06-221-1/+5
|
* cmake_host_system_information: Add more keywordsFlorian Maushart2017-06-051-1/+1
| | | | | Extend the `cmake_host_system_information()` command to add processor identification keywords.
* Merge branch 'upstream-vim-cmake-syntax'Patrick Boettcher2017-05-024-286/+201
| | | | | * upstream-vim-cmake-syntax: vim-cmake-syntax 2017-05-02 (15526199)
* separgs: Add a NATIVE_COMMAND modeChristian Pfeiffer2017-04-261-1/+1
|
* cmake.m4: do not set _XXXFLAGS or _LIBS var if already setJohn Donoghue2017-02-231-2/+2
| | | | | | | * Auxiliary/cmake.m4 (CMAKE_FIND_PACKAGE): change var tests from -n to -z to check if var is already set before calling cmake Fixes: #14460, #16663
* Add properties to run the cpplint style checker with the compilerJamie Snape2017-01-231-2/+2
| | | | | | Create a `<LANG>_CPPLINT` target property (initialized by a `CMAKE_<LANG>_CPPLINT` variable) to specify a `cpplint` style checker command line to be run along with the compiler.
* install: Configurable DESTINATION for the cmake.m4 fileKonstantin Podsvirov2016-11-151-1/+1
| | | | The DESTINATION changed from share/aclocal to ${CMAKE_XDGDATA_DIR}/aclocal.
* ctest_memcheck: Add DEFECT_COUNT option to capture defect countBetsy McPhail2016-11-091-1/+1
|
* Simplify CMake per-source license noticesBrad King2016-09-272-22/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | Per-source copyright/license notice headers that spell out copyright holder names and years are hard to maintain and often out-of-date or plain wrong. Precise contributor information is already maintained automatically by the version control tool. Ultimately it is the receiver of a file who is responsible for determining its licensing status, and per-source notices are merely a convenience. Therefore it is simpler and more accurate for each source to have a generic notice of the license name and references to more detailed information on copyright holders and full license terms. Our `Copyright.txt` file now contains a list of Contributors whose names appeared source-level copyright notices. It also references version control history for more precise information. Therefore we no longer need to spell out the list of Contributors in each source file notice. Replace CMake per-source copyright/license notice headers with a short description of the license and links to `Copyright.txt` and online information available from "https://cmake.org/licensing". The online URL also handles cases of modules being copied out of our source into other projects, so we can drop our notices about replacing links with full license text. Run the `Utilities/Scripts/filter-notices.bash` script to perform the majority of the replacements mechanically. Manually fix up shebang lines and trailing newlines in a few files. Manually update the notices in a few files that the script does not handle.
* ExternalProject: Add HTTP_HEADERRuslan Baratov2016-09-191-1/+1
|
* ExternalProject: Add HTTP_{USERNAME,PASSWORD}Ruslan Baratov2016-09-151-1/+1
|
* Aux: Install vim-cmake-syntax files with CMakeBrad King2016-08-171-0/+1
|
* Merge branch 'upstream-vim-cmake-syntax' into import-vim-syntaxBrad King2016-08-174-0/+869
| | | | | * upstream-vim-cmake-syntax: vim-cmake-syntax 2016-08-16 (e782679c)
* Aux: Drop vim files prior to import of third-party versionBrad King2016-08-174-674/+0
|
* bash-completion: Fix cmake -E lookupSylvain Joubert2016-08-051-1/+1
| | | | | | | In case of long '<command> <args...>' the description text is wrapped and indented on the next line. Avoid taking these lines into account by explicitly requiring the third character to be a non-space.
* Merge topic 'emacs-mode-compilation-warning'Brad King2016-08-011-8/+9
|\ | | | | | | | | | | 82388543 cmake-mode.el: Replace use of obsolete function (since Emacs 24.3). ca684ccb cmake-mode.el: Fix byte-compilation warnings.
| * cmake-mode.el: Replace use of obsolete function (since Emacs 24.3).Jostein Kjønigsen2016-08-011-1/+1
| |
| * cmake-mode.el: Fix byte-compilation warnings.Jostein Kjønigsen2016-07-261-7/+8
| |
* | Aux: highlight commands using FunctionBen Boeckel2016-07-221-3/+3
| | | | | | | | | | These are closer to functions than anything else. Also change the other groups which were highlighted with Function to other groups.
* | Aux: sort the highlighting listBen Boeckel2016-07-221-3/+3
| |
* | Aux: highlight CMAKE_{CMAKE,CPACK}_COMMAND variablesBen Boeckel2016-07-221-1/+1
| |
* | Aux: highlight modules using IncludeBen Boeckel2016-07-221-1/+1
| | | | | | | | They are closer to Include than generic preprocessor lines.
* | Aux: highlight conditiona and repeat commands differentlyBen Boeckel2016-07-221-1/+9
| |
* | Aux: highlight deprecated commands as warningsBen Boeckel2016-07-221-1/+5
| |
* | Aux: remove unused highlight linksBen Boeckel2016-07-221-2/+0
| |
* | Aux: highlight Lua-style commentsBen Boeckel2016-07-221-0/+2
| |
* | Aux: check spelling in commentsBen Boeckel2016-07-221-1/+1
|/
* Aux: update vim-syntax-highlightingPatrick Boettcher2016-07-211-57/+515
| | | | | | | | | | | | This commit updates the vim-syntax-file. It is still not complete, but contains much more keywords, built-in variables. Generator expressions are highlighted as well. This file is generated from a script which parses the --help output of cmake 3.5. Imported from here: https://github.com/pboettch/vim-cmake-syntax Signed-off-by: Patrick Boettcher <patrick.boettcher@posteo.de>
* bash-completion: Add cpack --help-{manual,module,policy,property}Eric NOULARD2016-06-101-0/+20
|
* bash-completion: Add ctest --help-{manual,module,policy,property,variable}Eric NOULARD2016-06-101-0/+26
|
* bash-completion: Fix cmake --help-policy lookupEric NOULARD2016-06-101-2/+2
|
* bash-completion: Add cmake --help-manualEric NOULARD2016-06-101-0/+5
|
* cmake-mode.el: Make cmake-tab-width a customizable variableTaylor Braun-Jones2016-05-101-1/+3
|
* cmake-mode.el: Fix help completion item lists with CMake >= 3.0 (#16019)Julian Schmidt2016-03-161-1/+2
| | | | | | | | | | | | | We run `cmake --help-*-list` to get a list of items for completion. Since CMake < 3.0 always printed "cmake version ..." on the first line of the output we have previously ignored the first line. However, CMake 3.0 and above do not print the version line so we should not ignore the first line or we miss one item. Ideally we should filter the first line out if it is "cmake version ..." in order to support CMake < 3.0 cleanly, but at worst the version line will show up as a completion option so simply including the first line is good enough for now.
* cmake-mode.el: unscreamify symbols instead of wordsKevin Burge2015-10-081-1/+1
| | | | | | | cmake-unscreamify-buffer should unscream more than just words. For example: CHECK_FUNCTION_EXISTS (...)
* cmake-mode.el: treat keywords as symbolsKevin Burge2015-10-081-4/+4
| | | | | | | Symbols such as "CHECK_FUNCTION_EXISTS" should not trigger an open block (due to containing the "word" FUNCTION). Fix this regression caused by commit v3.4.0-rc1~292^2~3 (cmake-mode.el: Use `rx' for regexps, 2015-07-23).
* Replace http://www.cmake.org URLs with https://cmake.orgBrad King2015-09-252-2/+2
| | | | | | | The latter is now the preferred URL for visiting cmake.org with a browser. Convert using the shell code: git ls-files -z | xargs -0 sed -i 's|http://www\.cmake|https://cmake|g'
* cmake-mode.el: Refine variable font-lockRoy Crihfield2015-08-141-1/+1
| | | | | Simplify regexp for variable names, and allow more legal characters. Remove `$ *` as legal chars, and allow `- + / .` in names.
* cmake-mode.el: Fix function name font-lockRoy Crihfield2015-08-131-1/+1
| | | | Allow space separating name and opening parenthesis.
* cmake-mode.el: Derive cmake-mode from prog-modeRoy Crihfield2015-07-271-35/+23
| | | | | | Emacs 24 and above support a generic "prog-mode" to simplify definition of programming modes. Derive "cmake-mode" from it since we are a programming mode.
* cmake-mode.el: Add font-lock for keywords and variablesRoy Crihfield2015-07-271-3/+11
| | | | | | Control flow keywords will now be highlighted as such. Variable names will be also be recognized. Adjust function name highlighting to work in places other than the start of a line.
* cmake-mode.el: Rename function to be consistentRoy Crihfield2015-07-271-9/+11
| | | | | | unscreamify-cmake-buffer => cmake-unscreamify-buffer While at it, wrap the operation in (save-excursion).
* cmake-mode.el: Use `rx' for regexpsRoy Crihfield2015-07-271-16/+26
| | | | | This allows the keywords be defined in a list and reused in different regexps.
* cmake-mode.el: Minor clean-upRoy Crihfield2015-07-271-41/+20
| | | | Superficial changes to use more conventional Emacs Lisp idioms.
* cmake-mode.el: Add support for prog-mode hooks (#15521)Jostein Kjønigsen2015-06-231-1/+3
| | | | | | | | | | | | | | | | | Since version 24, Emacs supports a generic mode called prog-mode. Like all other modes it has its own mode-hook, prog-mode-hook. For Emacs users it is common to provide all your generic programming-mode related customizations in this mode-hook. cmake-mode is definitely a programming-mode and should support calling this hook. There are two ways to make that happen: * Make your major-mode a derived-mode from prog-mode. * Manually calling the hook upon mode-activation. Implementing a derived mode may be the most proper thing to do, but that may require quite a few structural changes. For now just call the hook explicitly if it exists. This should cover much of what users need.
* bash-completion: Avoid using _init_completion when not definedGaëtan Lehmann2015-04-223-3/+24
| | | | | | | | With the current version of homebrew one gets: bash: _init_completion: command not found Avoid this by initializing manually when the function is not defined.
* Merge topic 'emacs-mode-fix-word-at-point'Brad King2015-01-201-0/+1
|\ | | | | | | | | 3a147e1b cmake-mode.el: Re-add explicit call to require thingatpt
| * cmake-mode.el: Re-add explicit call to require thingatptPeter Vasil2015-01-191-0/+1
| | | | | | | | | | | | Usually it is not needed to call '(require 'thingatpt')' explicitly because the function 'symbol-at-point' is in autoloaded but to be sure to have the function loaded in every case, require thingatpt.