summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Help: Revise docs on Scripting CommandsJoachim Wuttke (l)2018-10-2341-319/+472
| | | | | | | | | | | | | | | | | | | Revise docs for all "Scripting Commands", except four find_XXX that use a macro suite of their own. * Take full advantage of the improved syntax highlighting. * Make consequential use of <..> placeholders. * Clarify things here and there in the text. Specific improvements to some command docs: * "math": Correct description of novel hexadecimal capability. * "if", "foreach", "while": Provide link to "endif" etc * "foreach", "while": Mention "break" and "continue". * "foreach": Simplify explanation of ``RANGE`` and ``IN`` signatures; advise against negative arguments or reverse ranges (compare issue #18461) * "endif", "endfunction" etc: Explain that the argument is optional and maintained for compatibility only
* Merge topic 'help-syntax-highlighting'Craig Scott2018-10-1922-175/+294
|\ | | | | | | | | | | | | | | | | 93f3f65516 Help: Revise docs of modules AddFileDependencies..CheckFunctionExists fc7ee1ca45 Help: Override pygments CMakeLexer to support <..> and [..] 74b3eacdc7 Help: Use appropriate list types in FindPkgConfig Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2468
| * Help: Revise docs of modules AddFileDependencies..CheckFunctionExistsJoachim Wuttke (l)2018-10-1814-114/+126
| | | | | | | | | | | | * Replace '::' by '.. code-block:: cmake' wherever it makes sense. * Convert to definition list where appropriate. * Prefer '<placeholder>' over 'placeholder'.
| * Help: Override pygments CMakeLexer to support <..> and [..]Joachim Wuttke (o)2018-10-188-35/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * The code snippets in the docs consist of CMake code mixed with syntax definition punctuation like < > [ ] ... Therefore a pure CMake lexer is inadequate. Here it is replaced by a CMake syntax definition parser. * Fixed syntax definition snippets in FindPkgConfig.cmake to make best use of syntax highlighting. This source file is the hardest to support because it contains comparison operators <= = >=, which need special attention to avoid confusion with the placeholder indicators <...>. * Fixed syntax in execute_process.rst (there were unbalanced brackets). * Disabled syntax highlighting for long string examples in cmake-language.7.rst. * No highlighting of removed syntax in CMP0049 * To inspect the outcome of this patch, see e.g. the pages * manual/cmake-buildsystem.7.html * module/ExternalProject.html * module/FindPkgConfig.html which are particularly rich in complex code snippets.
| * Help: Use appropriate list types in FindPkgConfigJoachim Wuttke (l)2018-10-171-27/+42
| |
* | CMake Nightly Date StampKitware Robot2018-10-191-1/+1
| |
* | Merge branch 'release-3.13'Brad King2018-10-180-0/+0
|\ \
| * \ Merge branch 'update-vim-syntax' into release-3.13Brad King2018-10-182-106/+2148
| |\ \ | | | | | | | | | | | | Merge-request: !2500
* | \ \ Merge topic 'update-vim-syntax'Brad King2018-10-182-106/+2148
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | 3aa258db0e Merge branch 'upstream-vim-cmake-syntax' into update-vim-syntax c9493939ea vim-cmake-syntax 2018-10-18 (64ff4bd7) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2500
| * | | Merge branch 'upstream-vim-cmake-syntax' into update-vim-syntaxBrad King2018-10-182-106/+2148
| |\ \ \ | | | | | | | | | | | | | | | | | | | | * upstream-vim-cmake-syntax: vim-cmake-syntax 2018-10-18 (64ff4bd7)
| | * | | vim-cmake-syntax 2018-10-18 (64ff4bd7)vim-cmake-syntax upstream2018-10-182-106/+2148
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Code extracted from: https://github.com/pboettch/vim-cmake-syntax.git at commit 64ff4bd793c247da5a1772fffad91378dddf03b9 (master). Upstream Shortlog ----------------- Patrick Boettcher (1): 64ff4bd7 break line after each high-lighting keyword
* | | | | Merge branch 'release-3.13'Brad King2018-10-180-0/+0
|\ \ \ \ \ | | |_|/ / | |/| | |
| * | | | Merge branch 'rel-doc-qthelp' into release-3.13Brad King2018-10-182-1/+4
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Merge-request: !2497
| * \ \ \ \ Merge branch 'revert-server-iface-sources' into release-3.13Brad King2018-10-184-189/+40
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Merge-request: !2495
* | \ \ \ \ \ Merge topic 'rel-doc-qthelp'Brad King2018-10-182-1/+4
|\ \ \ \ \ \ \ | | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1d5c8b81db Utilities/Release: Add qthelp docs to binary archives Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2497
| * | | | | | Utilities/Release: Add qthelp docs to binary archivesBrad King2018-10-172-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #18465
* | | | | | | Merge topic 'revert-server-iface-sources'Brad King2018-10-184-189/+40
|\ \ \ \ \ \ \ | | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 284a38e42f cmake-server: Revert "Support codemodel filegroups for INTERFACE_SOURCES" Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2495
| * | | | | | cmake-server: Revert "Support codemodel filegroups for INTERFACE_SOURCES"Brad King2018-10-174-189/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert commit v3.13.0-rc1~144^2 (cmake-server: Support codemodel filegroups for INTERFACE_SOURCES, 2018-08-10). The changes activate code paths not meant to be used with interface libraries. Another approach will be needed to expose this information later. This revert has to be done by hand because the code in question has been changed somewhat since the changes were made, and was also factored out to another source file. Fixes: #18463
* | | | | | | CMake Nightly Date StampKitware Robot2018-10-181-1/+1
| | | | | | |
* | | | | | | Merge topic 'improve-readme'Brad King2018-10-171-1/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 33632898e9 README: Suggest "sudo" for "make install" Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2493
| * | | | | | | README: Suggest "sudo" for "make install"David Demelier2018-10-171-1/+1
| | |_|_|_|_|/ | |/| | | | |
* | | | | | | Merge topic 'better-empty-list-behavior'Brad King2018-10-1723-50/+69
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 121a036f73 cmListCommand: handle empty lists for list(REMOVE_AT) acfe53c588 cmListCommand: make list(ACTION not_a_list) succeed when idempotent bf572ac952 cmListCommand: check list(FILTER) operation before the list Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2478
| * | | | | | | cmListCommand: handle empty lists for list(REMOVE_AT)Ben Boeckel2018-10-169-9/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Treat an empty list as a list with no valid bounds and return an error message indicating that any given indices are out-of-bounds.
| * | | | | | | cmListCommand: make list(ACTION not_a_list) succeed when idempotentBen Boeckel2018-10-1617-36/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The operations changed here all are no-ops on empty lists anyways, so just have them succeed when given non-extant lists. - `list(REMOVE_ITEM)` - `list(REMOVE_DUPLICATES)` - `list(SORT)` - `list(FILTER)` - `list(REVERSE)`
| * | | | | | | cmListCommand: check list(FILTER) operation before the listBen Boeckel2018-10-111-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A future commit will make the not-a-list case a success, but invalid operations should still be diagnosed in that case.
* | | | | | | | Merge topic 'gem-string'Brad King2018-10-176-13/+15
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b8bb6ba653 cmGeneratorTarget::GetExportMacro: return const std::string* Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2485
| * | | | | | | | cmGeneratorTarget::GetExportMacro: return const std::string*Vitaly Stakhovsky2018-10-166-13/+15
| | | | | | | | |
* | | | | | | | | Merge topic 'ctor-remove'Brad King2018-10-172-18/+5
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d543eb2260 cmCustomCommand: remove the default constructor Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Brad King <brad.king@kitware.com> Merge-request: !2486
| * | | | | | | | | cmCustomCommand: remove the default constructorVitaly Stakhovsky2018-10-142-18/+5
| |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | Unused; no longer mandated by STL
* | | | | | | | | Merge topic 'vs-improve'Brad King2018-10-172-46/+31
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1601388212 cmVisualStudio10TargetGenerator: Code improvement Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2484
| * | | | | | | | | cmVisualStudio10TargetGenerator: Code improvementVitaly Stakhovsky2018-10-142-46/+31
| |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | Disallow incompletely initialized Elem objects
* | | | | | | | | Merge topic 'FindLibinput-compile-options'Brad King2018-10-171-3/+3
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0c20d4d67b FindLibinput: Use _COMPILE_OPTIONS instead of _DEFINITIONS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2490
| * | | | | | | | | FindLibinput: Use _COMPILE_OPTIONS instead of _DEFINITIONSFrederik Gladhorn2018-10-161-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The value may contain flags.
* | | | | | | | | | Merge topic 'ctest-coverage-gtm-percent'Brad King2018-10-175-34/+48
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f7d92deff4 CTest: Fix GTM coverage handling of entry point named "%" Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2489
| * | | | | | | | | CTest: Fix GTM coverage handling of entry point named "%"Joseph Snyder2018-10-165-34/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removing the "%" character from the name of the routine in the line parser causes CTest to be unable to find a routine entry point that is only named "%". Instead leave it during line parsing and handle routine names ending in "%" explicitly when loading files.
* | | | | | | | | | CMake Nightly Date StampKitware Robot2018-10-171-1/+1
| | | | | | | | | |
* | | | | | | | | | Merge branch 'release-3.13'Brad King2018-10-160-0/+0
|\ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ / / | |/| | | | | | | |
| * | | | | | | | | Merge branch 'document-dollar-in-varnames' into release-3.13Brad King2018-10-168-2/+48
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !2479
* | \ \ \ \ \ \ \ \ \ Merge topic 'document-dollar-in-varnames'Brad King2018-10-168-2/+48
|\ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 82a4822610 CMP0053: document that `$` is a valid literal variable character Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2479
| * | | | | | | | | | CMP0053: document that `$` is a valid literal variable characterBen Boeckel2018-10-158-2/+48
| | |_|_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was overlooked in the initial implementation of CMP0053. However, an additional policy to reject it again is not worth it. Instead, add tests and document the behavior. Fixes: #17883
* | | | | | | | | | Merge topic 'ctest_done_bug_fix'Brad King2018-10-161-1/+11
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 60ca88d726 ctest_submit: Generate Done.xml at submit time Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2477
| * | | | | | | | | ctest_submit: Generate Done.xml at submit timeZack Galbreath2018-10-151-1/+11
| | |_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a bug where calling `ctest_submit()` would result in a Done.xml file with an empty <buildId> element. CDash responds with a buildId when CTest submits a file. For this reason, Done.xml needs to generated after CTest has submitted some other file to CDash. This change also has the benefit of making Done.xml's timestamp as late as possible, giving us a more accurate record of how long the entire build took to complete.
* | | | | | | | | CMake Nightly Date StampKitware Robot2018-10-161-1/+1
| | | | | | | | |
* | | | | | | | | Merge branch 'release-3.13'Brad King2018-10-150-0/+0
|\ \ \ \ \ \ \ \ \ | | |_|/ / / / / / | |/| | | | | | |
| * | | | | | | | Merge branch 'update_debug_target_properties' into release-3.13Brad King2018-10-151-7/+16
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !2480
| * \ \ \ \ \ \ \ \ Merge branch 'FindPkgConfig-operator-docs' into release-3.13Brad King2018-10-151-6/+9
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !2481
* | \ \ \ \ \ \ \ \ \ Merge topic 'update_debug_target_properties'Brad King2018-10-151-7/+16
|\ \ \ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 86921f0264 Help: document CMAKE_DEBUG_TARGET_PROPERTIES support for LINK properties Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2480
| * | | | | | | | | | Help: document CMAKE_DEBUG_TARGET_PROPERTIES support for LINK propertiesRobert Maynard2018-10-121-7/+16
| | |_|_|_|_|_|/ / / | |/| | | | | | | |
* | | | | | | | | | Merge topic 'FindPkgConfig-operator-docs'Brad King2018-10-151-6/+9
|\ \ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / | |/| | | | / / / / | |_|_|_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7f2bc70c5e FindPkgConfig: Document support for > and < operators Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Rolf Eike Beer <eike@sf-mail.de> Merge-request: !2481
| * | | | | | | | FindPkgConfig: Document support for > and < operatorsCraig Scott2018-10-151-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was left out of commit v3.13.0-rc1~14^2 (FindPkgConfig: support also > and < operators for version compares, 2018-10-02).