| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
The directory contains auxiliary support files for integration with
other tools, not documentation.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Eric NOULARD <eric.noulard@gmail.com>
|
|
|
|
|
|
| |
This reimplement ab9824e.
Signed-off-by: Eric NOULARD <eric.noulard@gmail.com>
|
|
|
|
|
| |
The space has no special meaning in regular expressions so it doesn't need to
be escaped.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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/ \+$//'
|
| |
|
|
|
|
|
|
|
| |
The orginal patch has been reworked in order to follow
CMake source tree layout habit.
Inspired-By: Igor Murzov <e-mail@date.by>
|
|
|
|
|
|
| |
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'.
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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*
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
- filter out cmake/ctest version line
- provide -R as -E completion with ctest
|
|
|
|
|
| |
Added a small script to open a vertical split window with the output of
cmake --help-command for the word under the cursor.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
This makes cursor motion in the indent function consistent with emacs
conventions. Patch from Mike Wittman. See issue #8625.
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
~/CMake/src/Docs
* Additions for cmake-command highligting.
* Additions for operator-highlighting
|
|
|
|
| |
Alex
|
| |
|
|
|
|
|
|
|
| |
seems to fix the issues mentioned in the bug report and the rest also still
seems to be ok
Alex
|
| |
|
| |
|
| |
|
|
|
|
| |
end-of-line.
|
|
|
|
| |
name.
|
| |
|
|
|
|
| |
names in the highlighting table.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
issues and some cmake arguments issues
|
| |
|
|
|
|
| |
specification interface. Currently it supports only a SCRIPT option specifying a script to run during the install stage.
|
|
|
|
| |
Execution.
|
| |
|
| |
|
| |
|