summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'doc-command-synopsis'Brad King2018-05-079-242/+400
|\ | | | | | | | | | | | | | | | | | | | | | | 72814e46da Utilities/Sphinx: Make HTML links in parsed-literal blocks more obvious 08b4ea639c Help: Organize file command docs into sections 51c0e1407c Help: Add Synopsis section to install, list, and string docs 0acd705119 Help: Improve list command signature group name for read operations d5b2745b34 Help: Re-order file command docs 7d918b3cee cmRST: Parse inline links and inline literals Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2039
| * Utilities/Sphinx: Make HTML links in parsed-literal blocks more obviousBrad King2018-05-071-0/+10
| | | | | | | | | | | | | | | | Hyperlink text color does not stand out when used inside a literal block because such blocks typically get syntax highlighting. Update our CSS style to make the links more distinct. Suggested-by: Kyle Edwards <kyle.edwards@kitware.com>
| * Help: Organize file command docs into sectionsBrad King2018-05-071-16/+75
| | | | | | | | | | | | Add a synopsis section at the top summarizing all signatures. Issue: #17948
| * Help: Add Synopsis section to install, list, and string docsBrad King2018-05-073-99/+132
| | | | | | | | | | | | | | | | | | Summarize the command signatures in one block at the top of the documentation as is typical in Unix command-line tool manuals. Make the mode keywords links to the corresponding full signature and documentation. Issue: #17948
| * Help: Improve list command signature group name for read operationsBrad King2018-05-071-2/+2
| | | | | | | | | | The LENGTH, GET, JOIN, and SUBLIST operations all read the list without modifying it. Name their section appropriately.
| * Help: Re-order file command docsBrad King2018-05-071-125/+125
| | | | | | | | Prepare for the addition of section headers for grouping commands.
| * cmRST: Parse inline links and inline literalsBrad King2018-05-074-11/+67
| | | | | | | | | | Render links as the link text only. Render literals as themselves. This is closer to what the Sphinx text generator does.
* | Merge topic 'vs-cert'Brad King2018-05-072-4/+9
|\ \ | | | | | | | | | | | | | | | | | | 5cc195f1f4 VS Generator: Only include default certificate if it was actually copied Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2034
| * | VS Generator: Only include default certificate if it was actually copiedMark Ingram2018-05-042-4/+9
| | |
* | | CMake Nightly Date StampKitware Robot2018-05-071-1/+1
| | |
* | | Merge topic 'cpack_module_indentation_fix'Craig Scott2018-05-061-17/+17
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | a01c6e9921 CPack: Fix indentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2041
| * | | CPack: Fix indentationCraig Scott2018-05-041-17/+17
| |/ / | | | | | | | | | Addresses indentation not matching guidelines, missed in !2020. No functional changes and no changes to docs.
* | | CMake Nightly Date StampKitware Robot2018-05-061-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2018-05-051-1/+1
|/ /
* | Merge topic 'vs-refactor-xml'Brad King2018-05-042-843/+788
|\ \ | |/ |/| | | | | | | | | 3f315dc128 cmVisualStudio10TargetGenerator: XML refactoring Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2028
| * cmVisualStudio10TargetGenerator: XML refactoringVitaly Stakhovsky2018-05-042-843/+788
| |
* | Merge topic 'doc-xref-envvar'Brad King2018-05-043-1/+5
|\ \ | | | | | | | | | | | | | | | | | | 828e18bb3e cmRST: Add support for 'envvar' cmake domain role Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2038
| * | cmRST: Add support for 'envvar' cmake domain roleBrad King2018-05-043-1/+5
| | | | | | | | | | | | | | | This was accidentally left out of commit 8acf46caf1 (Utilities/Sphinx: Add role and directive for 'envvar' in CMake domain, 2018-04-19).
* | | Merge topic 'test-CheckSourceTree-in-source'Brad King2018-05-041-3/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 46fa1af514 Tests: Fix CheckSourceTree for in-source non-dashboard builds Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2025
| * | | Tests: Fix CheckSourceTree for in-source non-dashboard buildsIsrael Blancas2018-05-031-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For in-source builds we must tolerate non-tracked files in the source tree. Previously we only tolerated them for dashboard builds during automated testing, but we should tolerate them for local user builds too. Fixes: #17868
* | | | Merge topic 'genex-complang-not-loaded'Brad King2018-05-044-19/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4f82199bef Genex: Allow COMPILE_LANGUAGE to name a language that is not loaded Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2031
| * | | | Genex: Allow COMPILE_LANGUAGE to name a language that is not loadedHenry Schreiner2018-05-034-19/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Evaluate to false on `$<COMPILE_LANGUAGE:Lang>` if language `Lang` is not loaded. This is helpful in exported targets consumed in other projects that may not enable all the same languages. Fixes: #17952
* | | | | CMake Nightly Date StampKitware Robot2018-05-041-1/+1
| | | | |
* | | | | Merge topic 'feature/cpack-default-package-version'Craig Scott2018-05-0315-34/+223
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | af1c48871c CPack: Use project version as default for `CPACK_PACKAGE_VERSION` Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Harry Mallon <hjmallon@gmail.com> Merge-request: !2020
| * | | | CPack: Use project version as default for `CPACK_PACKAGE_VERSION`Alex Turbov2018-05-0215-34/+223
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Introduce `CMAKE_PROJECT_VERSION` and the corresponsing components: `CMAKE_PROJECT_VERSION_MAJOR`, `CMAKE_PROJECT_VERSION_MINOR`, `CMAKE_PROJECT_VERSION_PATCH` and `CMAKE_PROJECT_VERSION_TWEAK`. * `CPack` module use `CMAKE_PROJECT_VERSION_MAJOR`, `CMAKE_PROJECT_VERSION_MINOR` and `CMAKE_PROJECT_VERSION_PATCH` to initialize corresponsing CPack variables.
* | | | | Merge branch 'release-3.11'Brad King2018-05-030-0/+0
|\ \ \ \ \
| * \ \ \ \ Merge branch 'ctest-libuv-linux-sparc64' into release-3.11Brad King2018-05-021-1/+1
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Merge-request: !2029
* | \ \ \ \ \ Merge topic 'ctest-libuv-linux-sparc64'Brad King2018-05-031-1/+1
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1c22fdf360 libuv: linux/sparc64: use fcntl to set and clear O_NONBLOCK Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2029
| * | | | | | libuv: linux/sparc64: use fcntl to set and clear O_NONBLOCKBrad King2018-05-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Upstream libuv commits: * node-v0.6.0~28 (linux: use ioctl(FIONBIO) to set O_NONBLOCK, saves a syscall, 2011-10-29) * v1.11.0~11 (unix: use async-signal safe functions between fork and exec, 2016-12-12) left an asymmetry in the way O_NONBLOCK is set and cleared. Normally ioctl/FIONBIO is used for both. However, uv_spawn uses fcntl/O_NONBLOCK to clear O_NONBLOCK between fork and exec. This fails on Linux/sparc64 where setting via ioctl/FIONBIO actually sets two bits (in O_NDELAY) that cause clearing via fcntl/O_NONBLOCK to be silently ignored (though clearing via ioctl/FIONBIO or fcntl/O_NDELAY works). Since CMake commit v3.11.0-rc1~117^2 (CTest: Re-implement test process handling using libuv, 2017-12-10), CTest uses libuv. On Linux/sparc64 child processes have been started with non-blocking output pipes. This can lead to write errors or lost output from children not prepared to deal with `EAGAIN` on stdout or stderr. Fix this for now by switching libuv back to fcntl/O_NONBLOCK to set and clear O_NONBLOCK when compiled on Linux/sparc64. LibUV-Issue: 1830 Fixes: #17941
* | | | | | | Merge topic 'namelink-component'Brad King2018-05-0318-75/+529
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7e8046e20b Help: add release notes for NAMELINK_COMPONENT c02eeb0853 Help: clarify "undefined behavior" in install(EXPORT) command edcb545a24 install: add test for new NAMELINK_COMPONENT parameter 0212d7c762 install: add NAMELINK_COMPONENT argument cbb609072f Help: clean up install(TARGETS) documentation b81280ba1f Help: add list of command signatures to top of INSTALL page Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Alex Turbov <i.zaufi@gmail.com> Merge-request: !1982
| * | | | | | | Help: add release notes for NAMELINK_COMPONENTKyle Edwards2018-05-031-0/+7
| | | | | | | |
| * | | | | | | Help: clarify "undefined behavior" in install(EXPORT) commandKyle Edwards2018-05-031-5/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The "undefined behavior" that the install(EXPORT) command warned about was simply the possibility of build errors (or other errors) if the referenced targets aren't installed. As long as the referenced targets are installed, this won't be an issue.
| * | | | | | | install: add test for new NAMELINK_COMPONENT parameterKyle Edwards2018-05-0313-1/+285
| | | | | | | |
| * | | | | | | install: add NAMELINK_COMPONENT argumentKyle Edwards2018-05-034-15/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For shared libraries, this allows you to specify separate components for the shared library and for the namelink. Suggested in https://cmake.org/pipermail/cmake-developers/2014-December/024032.html.
| * | | | | | | Help: clean up install(TARGETS) documentationKyle Edwards2018-04-301-62/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The documentation for install(TARGETS) has been rearranged so that the options are presented as a list, for better readability and maintenance.
| * | | | | | | Help: add list of command signatures to top of INSTALL pageKyle Edwards2018-04-301-0/+18
| | | | | | | |
* | | | | | | | Merge topic 'doc-build-event-order'Brad King2018-05-031-4/+3
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6dd11ffbde Help: Clarify add_custom_command build event execution order Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2030
| * | | | | | | | Help: Clarify add_custom_command build event execution orderBrad King2018-05-021-4/+3
| | |_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | Fixes: #17949
* | | | | | | | Merge topic 'doc-server-pipe'Brad King2018-05-031-2/+4
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7a50425caa Help: Fix and clarify server mode --pipe= option docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2026
| * | | | | | | | Help: Fix and clarify server mode --pipe= option docsIsrael Blancas2018-05-021-2/+4
| | |_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Document the `=` in the option name. Clarify the term "named pipe" as an abstraction of local domain sockets on Unix and named pipes on Windows.
* | | | | | | | CMake Nightly Date StampKitware Robot2018-05-031-1/+1
| |/ / / / / / |/| | | | | |
* | | | | | | Merge topic 'code-improvements'Brad King2018-05-023-47/+45
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0c47ed6430 cmMakefile: Convert private helpers to file static functions e13fa223fc cmMakefile: Improve ExpandVariablesInString return type b542e0c74f cmCPluginAPI: Remove a few unnecessary c_str() calls Acked-by: Kitware Robot <kwrobot@kitware.com> Rejected-by: Marc Chevrier <marc.chevrier@gmail.com> Merge-request: !2018
| * | | | | | cmMakefile: Convert private helpers to file static functionsVitaly Stakhovsky2018-05-012-33/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The two-argument forms of `AddDefineFlag` and `RemoveDefineFlag` need no access to `cmMakefile` class members. They are used only within the implementation file.
| * | | | | | cmMakefile: Improve ExpandVariablesInString return typeVitaly Stakhovsky2018-05-013-11/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Return `std::string const&` instead of a `const char*` that points into a string anyway. Update call sites accordingly.
| * | | | | | cmCPluginAPI: Remove a few unnecessary c_str() callsVitaly Stakhovsky2018-05-011-3/+3
| | | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2018-05-021-1/+1
| |/ / / / / |/| | | | |
* | | | | | Merge topic 'source_group-empty-prefix'Brad King2018-05-011-1/+5
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b3baa97e80 Source_Group: Allow an empty prefix with the TREE syntax. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2022
| * | | | | | Source_Group: Allow an empty prefix with the TREE syntax.Yohann Benedic2018-04-301-1/+5
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When calling source_group(TREE <root> PREFIX "" FILES ...) the files located at the root directory were not assigned to the correct source group: they were put in a default group (e.g. "Source Files" in Visual Studio). Fixes: #17608
* | | | | | Merge topic 'doc-wiki-links'Brad King2018-05-014-9/+7
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 052743556b Modules: Update documented links to CMake community Wiki Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2023
| * | | | | | Modules: Update documented links to CMake community WikiBrad King2018-04-304-9/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The wiki has moved. Update links to reference the new pages.