summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'cmake-compilation-no-compiler-extensions'Brad King2020-03-257-0/+57
|\ | | | | | | | | | | | | f034b0f663 CMake compilation: do not use compiler extensions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4477
| * CMake compilation: do not use compiler extensionsMarc Chevrier2020-03-237-0/+57
| | | | | | | | | | | | | | For now, compiler extensions are no longer activated on CMake sources. However these extensions are still used for various third parties. This MR is a partial answer to the issue #20454.
* | Merge topic 'cmprop-state'Brad King2020-03-2510-55/+66
|\ \ | | | | | | | | | | | | | | | | | | ef408dd232 cmState::GetTargetTypeName: return type is *cmProp Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4505
| * | cmState::GetTargetTypeName: return type is *cmPropVitaly Stakhovsky2020-03-1910-55/+66
| | |
* | | Merge topic 'cmprop-cache'Brad King2020-03-253-32/+28
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 0bf0e35e59 cmCacheManager::GetProperty: return cmProp Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4503
| * | | cmCacheManager::GetProperty: return cmPropVitaly Stakhovsky2020-03-193-32/+28
| |/ /
* | | Merge topic 'FindRuby-rvm'Brad King2020-03-256-5/+288
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 905d5667e8 FindRuby: Add support for RVM installations e6699b9b59 FindRuby: Validate Ruby_EXECUTABLE before accepting it Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4386
| * | | FindRuby: Add support for RVM installationsJulien Marrec2020-03-236-5/+248
| | | |
| * | | FindRuby: Validate Ruby_EXECUTABLE before accepting itJulien Marrec2020-03-232-1/+41
| | | |
* | | | Merge branch 'release-3.17'Brad King2020-03-250-0/+0
|\ \ \ \
| * \ \ \ Merge topic 'FindPython-polish' into release-3.17Brad King2020-03-254-27/+21
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bf1ecfef7f FindPython: misc. fixes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4519
* | \ \ \ \ Merge topic 'FindPython-polish'Brad King2020-03-254-27/+21
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | bf1ecfef7f FindPython: misc. fixes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4519
| * | | | | FindPython: misc. fixesMarc Chevrier2020-03-244-27/+21
| |/ / / / | | | | | | | | | | | | | | | | | | | | Help: Fix errors regardings HINTS. Code: Optimize Python signature cache variable to avoid unecessary searchs.
* | | | | CMake Nightly Date StampKitware Robot2020-03-251-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2020-03-241-1/+1
| | | | |
* | | | | 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
|\ \ \ \ \ \ \ | | |_|_|/ / / | |/| | | | |