summaryrefslogtreecommitdiffstats
path: root/Docs
Commit message (Collapse)AuthorAgeFilesLines
* Rename Docs to AuxiliaryBrad King2013-10-159-864/+0
| | | | | The directory contains auxiliary support files for integration with other tools, not documentation.
* bash-completion: Future-proof --help-*-list "cXXXX version" filteringBrad King2013-09-253-8/+8
| | | | | | | | A future version of CMake may not print the "cmake version" line at the beginning of the --help-*-list output. Filter out the line with 'grep' instead of 'tail' to tolerate output from versions of CMake with and without the version line. Match "cmake version", "cpack version", and "ctest version" in each corresponding completion script.
* Clean up install rules of CMake itself (#14371)Brad King2013-08-262-4/+3
| | | | | | | | | | | Ensure CMAKE_DATA_DIR, CMAKE_DOC_DIR, and CMAKE_MAN_DIR are always relative paths in CMake code, and set defaults accordingly. Use the install() command instead of install_files() and install_targets(). This is more modern and also avoids stripping of the first character from user-specified destinations. While at it, fix the default destinations reported in the bootstrap help.
* bash-completion: Fix/improve generator names extractionIgor Murzov2013-07-292-5/+7
|
* bash-completion: Add -S,-SP options arguments completionIgor Murzov2013-07-291-1/+1
|
* cmake-mode.el: add local keybindingsTom Schutter2012-09-211-1/+17
| | | | Signed-off-by: Eric NOULARD <eric.noulard@gmail.com>
* cmake-mode.el: Use more readable regex and case-fold-searchTom Schutter2012-09-211-2/+3
| | | | | | This reimplement ab9824e. Signed-off-by: Eric NOULARD <eric.noulard@gmail.com>
* do not escape spaces in regular expressionsRolf Eike Beer2012-08-191-1/+1
| | | | | The space has no special meaning in regular expressions so it doesn't need to be escaped.
* Convert CMake-language commands to lower caseKitware Robot2012-08-131-1/+1
| | | | | | | | | | | | | | | | | Ancient CMake versions required upper-case commands. Later command names became case-insensitive. Now the preferred style is lower-case. Run the following shell code: cmake --help-command-list | grep -v "cmake version" | while read c; do echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | xargs -0 sed -i -f convert.sed && rm convert.sed
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-133-13/+13
| | | | | | | | | | | | | | | | | Our Git commit hooks disallow modification or addition of lines with trailing whitespace. Wipe out all remnants of trailing whitespace everywhere except third-party code. Run the following shell code: git ls-files -z -- \ bootstrap doxygen.config '*.readme' \ '*.c' '*.cmake' '*.cpp' '*.cxx' \ '*.el' '*.f' '*.f90' '*.h' '*.in' '*.in.l' '*.java' \ '*.mm' '*.pike' '*.py' '*.txt' '*.vim' | egrep -z -v '^(Utilities/cm|Source/(kwsys|CursesDialog/form)/)' | egrep -z -v '^(Modules/CPack\..*\.in)' | xargs -0 sed -i 's/ \+$//'
* Install editors helper filesEric NOULARD2012-04-231-0/+2
|
* Enhancement of bash completion scripts given by Igor Murzov.Eric NOULARD2012-04-236-207/+301
| | | | | | | The orginal patch has been reworked in order to follow CMake source tree layout habit. Inspired-By: Igor Murzov <e-mail@date.by>
* cmake-mode.el: Make indentation case-insensitive (#12995)Christopher Sean Morrison2012-02-241-2/+2
| | | | | | Convert the block open and close matching expressions to be explicitly insensitive to case. This way it will not matter whether Emacs is sensitive to case when evaluating 'string-match'.
* Merge topic 'ImproveCPackDoc-reloaded'David Cole2012-02-141-0/+10
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d4b77eb Avoid discovering system infos for documentation. Adding some path is enough. 9002f73 Fix non existent std::string::clear on VS6 02ccb32 Create getDocumentedModulesListInDir which may be used in other context. 24fbc28 Add missing section markup for CPackComponent bafd8a9 Example of builtin variable documentation (i.e. only used in C++ source code). 543f1ad Make the load of script documentation more efficient and dynamic. cdbd1a9 Fix another compiler warning due to a typo 52c53de Really avoid compiler warning about unused vars 37f90ed Calm down compiler warning about unused var 7c82b7f Fix potential bad memory access, thanks to Eike 62b589b Suppress unused var, beautify code, avoid 1 extra newline. 751713f Update bash completion file in order to handle new CPack doc options. 1629615 CPack Documentation extraction from CMake script begins to work 83e34dd Implement simple CMake script comment markup language. c6a0169 CPack begin the implementation of --help-command* and --help-variables*
| * Update bash completion file in order to handle new CPack doc options.Eric NOULARD2012-01-221-0/+10
| |
* | cmake-mode.el: Indent after multiline argument (#12908)Brad King2012-01-231-0/+1
|/ | | | | | | | | | | | | | | | After a multiline argument ending in a non-empty line e.g. if(TEST) set(VAR " ...") unset(VAR) endif() we previously failed to indent following lines like the "unset". Use cmake-line-starts-inside-string to keep walking back through multiline arguments until we find an indented line. Suggested-by: Christopher Sean Morrison <brlcad@mac.com>
* Enhance bash completion file for cmake and ctestEric NOULARD2012-01-031-9/+16
| | | | | - filter out cmake/ctest version line - provide -R as -E completion with ctest
* Inline help in vim with vertical split.Matthias Kretz2010-12-131-0/+21
| | | | | Added a small script to open a vertical split window with the output of cmake --help-command for the word under the cursor.
* Improve cmake-completion (install doc, ctest -R completion)Eric NOULARD2010-08-131-0/+12
|
* Proposal for bash-completion support fileEric NOULARD2010-08-011-0/+178
|
* Add cmake-help-command function.Bill Hoffman2009-09-301-0/+84
|
* Convert CMake to OSI-approved BSD LicenseBrad King2009-09-281-9/+7
| | | | | | | This converts the CMake license to a pure 3-clause OSI-approved BSD License. We drop the previous license clause requiring modified versions to be plainly marked. We also update the CMake copyright to cover the full development time range.
* BUG: Fix cmake-mode.el indentation cursor motionBrad King2009-02-261-29/+45
| | | | | This makes cursor motion in the indent function consistent with emacs conventions. Patch from Mike Wittman. See issue #8625.
* ENH: Add unset() command.Brad King2008-08-251-2/+2
| | | | | | | | This introduces the unset() command to make it easy to unset CMake variables, environment variables, and CMake cache variables. Previously it was not even possible to unset ENV or CACHE variables (as in completely remove them). Changes based on patch from Philip Lowman. See issue #7507.
* ENH: add simple function to convert all CMake commands to lowercaseSebastien Barre2008-03-111-0/+20
|
* ENH: ↵Karthik Krishnan2008-01-162-6/+8
| | | | | | | ~/CMake/src/Docs * Additions for cmake-command highligting. * Additions for operator-highlighting
* BUG: fix vim highlighting, see #6238Alexander Neundorf2008-01-152-23/+22
| | | | Alex
* ENH: Enable indentation of FUNCTION/ENDFUNCTION blocks in emacs.Brad King2008-01-021-2/+2
|
* STYLE: apply patch from #6166, better cmake syntax highlighting in vim,Alexander Neundorf2007-12-171-8/+12
| | | | | | | seems to fix the issues mentioned in the bug report and the rest also still seems to be ok Alex
* ENH: Adding elseif to VIM syntax and indentation files. See bug #3781.Brad King2006-09-232-3/+3
|
* ENH: Adding elseif indentation. See bug#3781.Brad King2006-09-231-2/+2
|
* ENH: remove old filesKen Martin2006-07-283-206/+0
|
* BUG: In example .emacs code use \' for end-of-string instead of $ for ↵Brad King2006-04-261-2/+2
| | | | end-of-line.
* BUG: Mode should only be used if CMakeLists.txt is at the end of the buffer ↵Brad King2006-04-261-1/+1
| | | | name.
* BUG: Tabs around a function name are allowed.Brad King2006-04-261-2/+2
|
* ENH: Using suggestion from Stuart Herring to avoid needing a list of command ↵Brad King2006-04-261-27/+4
| | | | names in the highlighting table.
* ENH: Cleaned-up mode in preparation for inclusion in emacs upstream.Brad King2006-04-251-37/+89
|
* BUG: Fix typoAndy Cedilnik2006-04-211-1/+1
|
* ENH: Add While supportAndy Cedilnik2006-04-211-2/+2
|
* STYLE: Add missing commandAndy Cedilnik2006-04-201-1/+1
|
* ENH: Cleanup header and make license compatible with VIMAndy Cedilnik2006-04-182-23/+9
|
* ENH: Cleanup, make case insensitive, remove macro since it does not work anywayAndy Cedilnik2006-04-161-12/+12
|
* ENH: Unify the commentAndy Cedilnik2006-04-131-4/+9
|
* ENH: More system variables, more operators, more commands, fix some string ↵Andy Cedilnik2006-04-131-9/+15
| | | | issues and some cmake arguments issues
* ENH: Added highlighting for LIST command.Brad King2006-02-101-2/+2
|
* ENH: Added INSTALL command as a placeholder for a future generic install ↵Brad King2006-02-101-2/+2
| | | | specification interface. Currently it supports only a SCRIPT option specifying a script to run during the install stage.
* ENH: Adding new EXECUTE_PROCESS command that interfaces to KWSys Process ↵Brad King2006-02-031-2/+3
| | | | Execution.
* ENH: missing get_directory_property commandKen Martin2005-09-131-2/+2
|
* ENH: added while commandKen Martin2005-06-301-4/+4
|
* ENH: added while commandKen Martin2005-06-301-2/+2
|