summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* cmCPackArchiveGenerator: support multithreaded compressionBen Boeckel2020-04-0310-1/+76
|
* cmCPackArchiveGenerator: support setting archive optionsBen Boeckel2020-03-312-0/+14
|
* cmArchiveWrite: support setting archive filter optionsBen Boeckel2020-03-312-0/+16
|
* cmArchiveWrite: split out opening the fileBen Boeckel2020-03-315-1/+18
| | | | | This allows options to be set before the "header" phase of libarchive's API.
* Merge branch 'release-3.17'Brad King2020-03-230-0/+0
|\
| * Merge topic 'doc-typo' into release-3.17Brad King2020-03-231-1/+1
| |\ | | | | | | | | | | | | | | | | | | 356c7cec2c Help: Fixed typo in CMAKE_INSTALL_RPATH_USE_LINK_PATH.rst Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4516
* | \ Merge topic 'doc-typo'Brad King2020-03-231-1/+1
|\ \ \ | | |/ | |/| | | | | | | | | | | | | 356c7cec2c Help: Fixed typo in CMAKE_INSTALL_RPATH_USE_LINK_PATH.rst Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4516
| * | Help: Fixed typo in CMAKE_INSTALL_RPATH_USE_LINK_PATH.rstJaak Ristioja2020-03-231-1/+1
| | | | | | | | | | | | Signed-off-by: Jaak Ristioja <jaak@ristioja.ee>
* | | Merge branch 'release-3.17'Brad King2020-03-230-0/+0
|\ \ \ | | |/ | |/|
| * | Merge topic 'cmake-gui-open-check' into release-3.17Brad King2020-03-231-1/+1
| |\ \ | | |/ | |/| | | | | | | | | | | | | ecc0086bfc cmake-gui: Fix use-after-free in Open-possible check Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4508
* | | Merge topic 'cmake-gui-open-check'Brad King2020-03-231-1/+1
|\ \ \ | | |/ | |/| | | | | | | | | | | | | ecc0086bfc cmake-gui: Fix use-after-free in Open-possible check Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4508
| * | cmake-gui: Fix use-after-free in Open-possible checkFrancisco Facioni2020-03-201-1/+1
| |/ | | | | | | | | Fix `QCMake::checkOpenPossible` to copy `toLocal8Bit().data()` before its lifetime expires.
* | CMake Nightly Date StampKitware Robot2020-03-231-1/+1
| |
* | CMake Nightly Date StampKitware Robot2020-03-221-1/+1
| |
* | CMake Nightly Date StampKitware Robot2020-03-211-1/+1
| |
* | Merge branch 'release-3.17'Brad King2020-03-200-0/+0
|\ \ | |/
| * CMake 3.17.0v3.17.0Brad King2020-03-201-1/+1
| |
* | Merge branch 'release-3.17'Brad King2020-03-200-0/+0
|\ \ | |/
| * Merge topic 'FindMatlab-r2020' into release-3.17Brad King2020-03-201-0/+1
| |\ | | | | | | | | | | | | | | | | | | 75331a4578 FindMatlab: Add R2020a=9.8 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4507
* | \ Merge topic 'FindMatlab-r2020'Brad King2020-03-201-0/+1
|\ \ \ | | |/ | |/| | | | | | | | | | | | | 75331a4578 FindMatlab: Add R2020a=9.8 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4507
| * | FindMatlab: Add R2020a=9.8Michael Hirsch, Ph.D2020-03-191-0/+1
| | | | | | | | | | | | This allows Matlab R2020a to be recognized as a valid Matlab version.
* | | Merge branch 'release-3.16'Brad King2020-03-200-0/+0
|\ \ \
| * \ \ Merge branch 'GetPrerequisites-vcruntime-is-system' into release-3.16Brad King2020-03-191-3/+3
| |\ \ \ | | | | | | | | | | | | | | | Merge-request: !4506
* | \ \ \ Merge branch 'release-3.17'Brad King2020-03-200-0/+0
|\ \ \ \ \ | | |_|_|/ | |/| | |
| * | | | Merge topic 'GetPrerequisites-vcruntime-is-system' into release-3.17Brad King2020-03-201-3/+3
| |\ \ \ \ | | | |/ / | | |/| | | | | | | | | | | | | | | | | | | | | | 417b765f5a GetPrerequisites: Classify vcruntime libraries as system Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4506
* | | | | Merge topic 'GetPrerequisites-vcruntime-is-system'Brad King2020-03-201-3/+3
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | 417b765f5a GetPrerequisites: Classify vcruntime libraries as system Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4506
| * | | | GetPrerequisites: Classify vcruntime libraries as systemErr0rC0deX2020-03-191-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Previously GetPrerequisites classified `vcruntime*.dll` as type "other". They should be classified as type "system".
* | | | | Merge branch 'release-3.17'Brad King2020-03-200-0/+0
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Merge topic 'export-repeat' into release-3.17Brad King2020-03-208-28/+41
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8affe9aa33 export: Fix use-after-free on multiple calls overwriting same FILE Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4494
* | \ \ \ \ Merge topic 'export-repeat'Brad King2020-03-208-28/+41
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 8affe9aa33 export: Fix use-after-free on multiple calls overwriting same FILE Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4494
| * | | | | export: Fix use-after-free on multiple calls overwriting same FILEBrad King2020-03-198-28/+41
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CMake 3.16 and below allow multiple `export()` calls with the same output file even without using `APPEND`. The implementation worked by accident by leaking memory. Refactoring in commit 5444a8095d (cmGlobalGenerator: modernize memrory managemenbt, 2019-12-29, v3.17.0-rc1~239^2) cleaned up that memory leak and converted it to a use-after-free instead. The problem is caused by using the `cmGlobalGenerator::BuildExportSets` map to own `cmExportBuildFileGenerator` instances. It can own only one instance per output FILE name at a time, so repeating use of the same file now frees the old `cmExportBuildFileGenerator` instance and leaves the pointer in the `cmMakefile::ExportBuildFileGenerators` vector dangling. Move ownership of the instances into `cmMakefile`'s vector since its entries are not replaced on a repeat output FILE. In future work we should introduce a policy to error out on this case. For now simply fix the use-after-free to restore CMake <= 3.16 behavior. Fixes: #20469
* | | | | CMake Nightly Date StampKitware Robot2020-03-201-1/+1
| | | | |
* | | | | Merge topic 'cmprop-state'Brad King2020-03-1915-76/+74
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bd89133543 cmState::GetCacheEntryValue: return cmProp Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4493
| * | | | | cmState::GetCacheEntryValue: return cmPropVitaly Stakhovsky2020-03-1715-76/+74
| | | | | |
* | | | | | Merge topic 'target-improve'Brad King2020-03-195-30/+30
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b915fec56e cmTarget: minor code improvements Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4483
| * | | | | | cmTarget: minor code improvementsVitaly Stakhovsky2020-03-175-30/+30
| |/ / / / /
* | | | | | Merge topic 'CheckLanguage-private-vars'Brad King2020-03-191-8/+8
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 36baf1f13c CheckLanguage: hide commonly used variable names Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4497
| * | | | | | CheckLanguage: hide commonly used variable namesHannes Vogt2020-03-181-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The check_language sets internal variables with a common name in the caller's scope: `result`, `output` and `content`. They are now prefixed with `_cl_`, inspired by the CheckLibraryExists module.
* | | | | | | Merge branch 'release-3.17'Brad King2020-03-190-0/+0
|\ \ \ \ \ \ \ | | |_|_|/ / / | |/| | | | |
| * | | | | | Merge topic 'trace-format-json-doc' into release-3.17Brad King2020-03-192-2/+3
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1994f950ff cmake: List valid values for --trace-format on the command line e39766d84a Help: Fix documentation of --trace-format parameter Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4500
* | \ \ \ \ \ \ Merge topic 'trace-format-json-doc'Brad King2020-03-192-2/+3
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1994f950ff cmake: List valid values for --trace-format on the command line e39766d84a Help: Fix documentation of --trace-format parameter Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4500
| * | | | | | | cmake: List valid values for --trace-format on the command lineKyle Edwards2020-03-181-1/+2
| | | | | | | |
| * | | | | | | Help: Fix documentation of --trace-format parameterKyle Edwards2020-03-181-1/+1
| |/ / / / / /
* | | | | | | CMake Nightly Date StampKitware Robot2020-03-191-1/+1
| |/ / / / / |/| | | | |
* | | | | | Merge topic 'FindRuby-updates'Brad King2020-03-187-49/+176
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 46064c8193 FindRuby: Add support for versions up to 2.7 675eaf3bd0 FindRuby: Update MSVC runtime library selection b970e25d98 FindRuby: Remove extra whitespace ecdace4d61 FindRuby: Include FPHSA closer to where it is used f52f496138 FindRuby: Provide Ruby_LIBRARIES result variable b00d736a0b FindRuby: Add dedicated tests Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4481
| * | | | | | FindRuby: Add support for versions up to 2.7Julien Marrec2020-03-171-30/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #20370
| * | | | | | FindRuby: Update MSVC runtime library selectionBrad King2020-03-171-15/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the `MSVC_TOOLSET_VERSION` variable computed by CMake to get the matching Ruby library name component. Inspired-by: Julien Marrec <julien.marrec@gmail.com>
| * | | | | | FindRuby: Remove extra whitespaceJulien Marrec2020-03-161-1/+1
| | | | | | |
| * | | | | | FindRuby: Include FPHSA closer to where it is usedBrad King2020-03-161-1/+1
| | | | | | |
| * | | | | | FindRuby: Provide Ruby_LIBRARIES result variableBrad King2020-03-162-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `cmake-developer(7)` manual documents that a plural non-cached name should be used for results.