summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'doc-sections'Brad King2020-02-183-39/+60
|\ | | | | | | | | | | | | | | | | | | 22aac6669b Help: install: use bullet lists to sort out target kinds b3f4d50348 Help: ifw.rst: Add toc; mv "Hints" section -> subsection of "Variables" c671966c20 Help: CPackComponent: Sectioning and rewording 05e56b1897 Help: FetchContent, ExternalProject: Command sections -> subsections Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4367
| * Help: CPackComponent: Sectioning and rewordingJoachim Wuttke (o)2020-02-171-34/+49
| | | | | | | | | | | | | | | | | | * Insert section and subsection headers (because this is a very long doc page) * In the Introduction, first say that module is included automatically * Then start with operational definition of components * Remove duplications * Also reword the description of the command cpack_add_component
| * Help: FetchContent, ExternalProject: Command sections -> subsectionsJoachim Wuttke (o)2020-02-172-5/+11
| |
* | Merge topic 'CPackNuGet-granular-errors'Brad King2020-02-181-0/+16
|\ \ | | | | | | | | | | | | | | | | | | | | | e6c470997f CPack/NuGet: Provide more granular errors Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Alex Turbov <i.zaufi@gmail.com> Merge-request: !4132
| * | CPack/NuGet: Provide more granular errorsYacoub Hossain2020-02-171-0/+16
| |/ | | | | | | | | | | | | Address the problem of not knowing when cpack fails to create a nuget package which occurs when creating multiple nupkgs. Fixes: #20094
* | Merge topic 'swift-exe-rpath'Brad King2020-02-181-0/+5
|\ \ | | | | | | | | | | | | | | | | | | 321df5783d Swift: support `-rpath` for executables Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4365
| * | Swift: support `-rpath` for executablesSaleem Abdulrasool2020-02-171-0/+5
| | | | | | | | | | | | This adjusts the flags to enable setting the RPATH for executables.
* | | Merge topic 'git-config-with-spaces'Brad King2020-02-171-1/+1
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | ef3194a6f8 ExternalProject: Quote each git --config option to handle spaces 40d1d29cfa Tests: Add missing ExternalProject smoke tests afc8956765 Tests: Fix test_clean target missing some test directories Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4364
| * | ExternalProject: Quote each git --config option to handle spacesCraig Scott2020-02-151-1/+1
| |/ | | | | Fixes: #20354
* | Help: module CPack: improve summary and IntroductionJoachim Wuttke (o)2020-02-141-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | * In summary: * we configure generators, not the generated installers * we generate installers or source packages, not source package installers * In Introduction: * Make paragraph on binary installers more concise * Remove example that refered to CMake source tree * Add paragraph on source packages * omit the parenthesis on graphical installers
* | Help: CPackComponent: improve summary and introductionJoachim Wuttke (o)2020-02-141-11/+9
| | | | | | | | | | | | | | Also: * provide some hyperlinks * update parenthesis on graphical installers (no longer restricted to Win and macOS)
* | Merge topic 'doc-ascii'Brad King2020-02-121-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | c5d7c29137 Help: Replace UTF-8 apostrophe with ascii apostrophe Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Kyle Edwards <kyle.edwards@kitware.com> Merge-request: !4358
| * | Help: Replace UTF-8 apostrophe with ascii apostropheBrad King2020-02-121-1/+1
| |/ | | | | | | | | | | Also replace UTF-8 graphical characters with simple dashes. Fixes: #20349
| * Merge topic 'doc-cpack' into release-3.17Brad King2020-02-121-3/+3
| |\ | | | | | | | | | | | | | | | | | | 3af0b33ec6 Help: module CPack: Make internal hyperlink target more unique Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4353
| * \ Merge topic 'doc-cpack' into release-3.17Brad King2020-02-121-10/+31
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 59e9f33d78 Help: module CPack: New section on targets. f33708eed9 Help: module CPack: add cross-reference to cpack-generators(7). 4949e1261a Help: module CPack. Explain usage of the build targets. 72eaeb41f5 Help: module CPack: correction: 2 config files are generated, not just 1 c35a9ff9c3 Help: CPack module: Correct the summary (configure, not build) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4352
| * \ \ Merge topic 'PrintSystemInformation' into release-3.17Brad King2020-02-121-2/+2
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1e9328a00d Help: CMakePrintSystemInformation.cmake: Minor corrections. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4351
| * \ \ \ Merge topic 'cpack-ifw-qt-links' into release-3.17Brad King2020-02-121-13/+10
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e240371ab1 Help: CPackIFWGenerator: explain relation to CPackIWF 78779c6111 Help: Show external link only once per page; explain abbreviation QtIFW. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4348
| * \ \ \ \ Merge topic 'ExternalProject-submodules-recurse' into release-3.17Brad King2020-02-111-19/+28
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0ba8010255 ExternalProject: Fix git submodule recursion on update Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4346
| * \ \ \ \ \ Merge topic 'FindOpenMP-clang-windows' into release-3.17Brad King2020-02-111-7/+25
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ceb5ee4a7b FindOpenMP: Add support for Clang on Windows 2dbff623f9 FindOpenMP: Save flags/libs in cache entries each time they are detected Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4327
| * \ \ \ \ \ \ Merge topic 'FindPython-reduce-resources-comsumption' into release-3.17Brad King2020-02-111-88/+137
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3dab4682f6 FindPython: reduces consumption of resources Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4338
| * \ \ \ \ \ \ \ Merge topic 'swift-no-sdk-include' into release-3.17Brad King2020-02-113-1/+8
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5c2a92f44f Swift: Exclude SDK include paths Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4315
| * \ \ \ \ \ \ \ \ Merge topic 'FindMPI-fix-rerun' into release-3.17Brad King2020-02-111-12/+48
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b4d5ea8233 FindMPI: Preserve order of include directories on re-runs of CMake 8261ee3a9c FindMPI: Restore re-construction of include directories Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4341
* | \ \ \ \ \ \ \ \ \ Merge topic 'doc-cpack'Brad King2020-02-121-3/+3
|\ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3af0b33ec6 Help: module CPack: Make internal hyperlink target more unique Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4353
| * | | | | | | | | | Help: module CPack: Make internal hyperlink target more uniqueBrad King2020-02-121-3/+3
| | |_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | We already have a `.. _targets:` in `Help/command/install.rst`.
* | | | | | | | | | Merge topic 'doc-cpack'Brad King2020-02-121-10/+31
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 59e9f33d78 Help: module CPack: New section on targets. f33708eed9 Help: module CPack: add cross-reference to cpack-generators(7). 4949e1261a Help: module CPack. Explain usage of the build targets. 72eaeb41f5 Help: module CPack: correction: 2 config files are generated, not just 1 c35a9ff9c3 Help: CPack module: Correct the summary (configure, not build) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4352
| * | | | | | | | | Help: module CPack: New section on targets.Joachim Wuttke (o)2020-02-121-7/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To explain in full detail to what extent the targets package and package_source are supported by different generators.
| * | | | | | | | | Help: module CPack: add cross-reference to cpack-generators(7).Joachim Wuttke (o)2020-02-121-0/+2
| | | | | | | | | |
| * | | | | | | | | Help: module CPack. Explain usage of the build targets.Joachim Wuttke (o)2020-02-121-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Explain the usage of the two new build targets, package and package_source.
| * | | | | | | | | Help: module CPack: correction: 2 config files are generated, not just 1Joachim Wuttke (o)2020-02-121-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Besides CPackConfig.cmake, the module also generates CPackSourceConfig.cmake.
| * | | | | | | | | Help: CPack module: Correct the summary (configure, not build)Joachim Wuttke (o)2020-02-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Including CPack does not "build" installers. It just *configures* them.
* | | | | | | | | | Merge topic 'PrintSystemInformation'Brad King2020-02-121-2/+2
|\ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1e9328a00d Help: CMakePrintSystemInformation.cmake: Minor corrections. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4351
| * | | | | | | | | Help: CMakePrintSystemInformation.cmake: Minor corrections.Joachim Wuttke (o)2020-02-121-2/+2
| |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Punctuation. "file" -> "module"
* | | | | | | | | Merge topic 'cpack-ifw-qt-links'Brad King2020-02-121-13/+10
|\ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e240371ab1 Help: CPackIFWGenerator: explain relation to CPackIWF 78779c6111 Help: Show external link only once per page; explain abbreviation QtIFW. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4348
| * | | | | | | | Help: CPackIFWGenerator: explain relation to CPackIWFJoachim Wuttke (o)2020-02-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Make overview more focussed * Explain the relation to CPackIFW
| * | | | | | | | Help: Show external link only once per page; explain abbreviation QtIFW.Joachim Wuttke (o)2020-02-111-13/+10
| |/ / / / / / /
* | | | | | | | Merge topic 'FindHDF5-docs'Brad King2020-02-121-10/+8
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 88cffab75f FindHDF5: docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4343
| * | | | | | | | FindHDF5: docsMichael Hirsch, Ph.D2020-02-111-10/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The docs referred to deprecated variables and HDF5_ROOT, which is implicit for every Find*.
* | | | | | | | | FindHDF5: Improve search when not using HDF5 compiler wrapperMichael Hirsch, Ph.D2020-02-111-7/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add common lib/inc path_suffixes.
* | | | | | | | | FindHDF5: check that compiler wrapper can compile a minimal programMichael Hirsch, Ph.D2020-02-111-24/+35
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are common setups where the compiler wrapper is broken and will give non-useful flags to CMake.
* | | | | | | | Merge topic 'ExternalProject-submodules-recurse'Brad King2020-02-111-19/+28
|\ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0ba8010255 ExternalProject: Fix git submodule recursion on update Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4346
| * | | | | | | ExternalProject: Fix git submodule recursion on updateCharis Marangos2020-02-101-19/+28
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit 5bc6230741 (ExternalProject: Option to turn off recursive update of git submodules, 2019-10-16) we implemented the feature in the clone script written by `_ep_write_gitclone_script` but not in the update script written by `_ep_write_gitupdate_script`. Implement the latter by factoring out a common helper to use in both places. Fixes: #20335
* | | | | | | Merge topic 'FindOpenMP-clang-windows'Brad King2020-02-111-7/+25
|\ \ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ceb5ee4a7b FindOpenMP: Add support for Clang on Windows 2dbff623f9 FindOpenMP: Save flags/libs in cache entries each time they are detected Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4327
| * | | | | | FindOpenMP: Add support for Clang on WindowsTim Hutton2020-02-101-1/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #19404
| * | | | | | FindOpenMP: Save flags/libs in cache entries each time they are detectedTim Hutton2020-02-101-6/+5
| |/ / / / /
* | | | | | Merge topic 'FindPython-reduce-resources-comsumption'Brad King2020-02-111-88/+137
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 3dab4682f6 FindPython: reduces consumption of resources Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4338
| * | | | | FindPython: reduces consumption of resourcesMarc Chevrier2020-02-101-88/+137
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Stores more information in the cache to reduce the number of sub-processes required on subsequent find_package calls. Fixes: #20337
* | | | | Merge topic 'swift-no-sdk-include'Brad King2020-02-113-1/+8
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | 5c2a92f44f Swift: Exclude SDK include paths Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4315
| * | | | Swift: Exclude SDK include pathsYauheni Khnykin2020-02-103-1/+8
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Populate `CMAKE_Swift_IMPLICIT_INCLUDE_DIRECTORIES` with the macOS SDK's include directory so that we filter such implicit directories out of Swift targets. Fixes: #19845
* | | | Merge topic 'FindMPI-fix-rerun'Brad King2020-02-111-12/+48
|\ \ \ \ | |_|/ / |/| | / | | |/ | |/| | | | | | | | | | b4d5ea8233 FindMPI: Preserve order of include directories on re-runs of CMake 8261ee3a9c FindMPI: Restore re-construction of include directories Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4341
| * | FindMPI: Preserve order of include directories on re-runs of CMakeBrad King2020-02-101-12/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The fix in commit 5861c6d450 (FindMPI: Preserve include order when extracting component directories, 2019-12-19) only works on the first run of CMake in which we find MPI. Extend the fix to save the compiler wrapper's entire include path in our cache without splitting anything out. That way we can preserve the order when CMake re-runs. Fixes: #20338