summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Help: describe what happens if command execute_process reaches timeout.Joachim Wuttke (l)2019-03-201-2/+3
|
* Merge topic 'ExternalProject-optimize-vcs'Brad King2019-03-201-35/+23
|\ | | | | | | | | | | | | | | 8f723e48b8 ExternalProject: Optimize Mercurial commands bca0c16223 ExternalProject: Optimize git commands Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3116
| * ExternalProject: Optimize Mercurial commandsBartosz Kosiorek2019-03-191-12/+5
| |
| * ExternalProject: Optimize git commandsBartosz Kosiorek2019-03-191-23/+18
| |
* | Merge topic 'dedup-path-normalization'Brad King2019-03-2011-52/+14
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | b52d9d6960 cmSystemTools: Drop unused CollapseCombinedPath method a13a5c948e Replace use of CollapseCombinedPath with CollapseFullPath Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Sebastian Holtermann <sebholt@xwmw.org> Merge-request: !3117
| * | cmSystemTools: Drop unused CollapseCombinedPath methodBrad King2019-03-192-36/+0
| | | | | | | | | | | | | | | | | | | | | All call sites have been converted to `CollapseFullPath`, so the now-unused `CollapseCombinedPath` can be removed. Fixes: #19050
| * | Replace use of CollapseCombinedPath with CollapseFullPathBrad King2019-03-199-16/+14
| |/ | | | | | | | | | | | | | | | | | | | | `CollapseCombinedPath` was introduced by commit 551d3343cd (cmDependsC: Collapse relative include paths, 2013-06-19, v2.8.12~237^2) where the existing `CollapseFullPath` should have been used instead. Then its use proliferated slightly. Since `CollapseCombinedPath` is less widely used and less robust (see issue #19049), use `CollapseFullPath` everywhere instead. Issue: #19050
* | CMake Nightly Date StampKitware Robot2019-03-201-1/+1
| |
* | Merge topic 'cmake--install'Kyle Edwards2019-03-1912-3/+204
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 73f23d1e00 cmake: add '--install <dir>' option Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Alex Turbov <i.zaufi@gmail.com> Acked-by: Bartosz <gang65@poczta.onet.pl> Acked-by: Cristian Adam <cristian.adam@gmail.com> Rejected-by: Alex Turbov <i.zaufi@gmail.com> Merge-request: !3069
| * | cmake: add '--install <dir>' optionJiang Yi2019-03-1612-3/+204
| | | | | | | | | | | | Fixes: #19023
* | | Merge topic 'improve-tar-command'Kyle Edwards2019-03-1914-19/+48
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | 8634576dcb cmake: Don't interrupt archive creation if unable to read a file. c7c6a4a2cc Help: Update 'tar' documentation with supported arguments 7c47fd8cd1 cmake: tar: Display warning when no files provided during archive creation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3080
| * | cmake: Don't interrupt archive creation if unable to read a file.Bartosz Kosiorek2019-03-1810-19/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rationale: Currently during creation of archive by 'tar', if error appears, it interrupt archive creation. As a result only part of files are archived This behaviour is not consistent with 'copy_directory', native 'tar' and other command behaviour. With this Merge Request this behaviour is fixed.
| * | Help: Update 'tar' documentation with supported argumentsBartosz Kosiorek2019-03-181-0/+15
| | |
| * | cmake: tar: Display warning when no files provided during archive creationBartosz Kosiorek2019-03-184-4/+11
| | |
* | | Merge topic 'xcodegen-use-std-string'Brad King2019-03-192-7/+7
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 482d9ef9a8 cmGlobalXCodeGenerator: Prefer std::string over char* Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3111
| * | | cmGlobalXCodeGenerator: Prefer std::string over char*Gregor Jasny2019-03-172-7/+7
| | | |
* | | | Merge topic 'is-valid-utf8'Brad King2019-03-193-0/+101
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 53184a727d cm_utf8: add an is_valid function Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3104
| * | | | cm_utf8: add an is_valid functionBen Boeckel2019-03-183-0/+101
| | | | |
* | | | | Merge topic 'CheckTypeSize-decl-warning'Brad King2019-03-191-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0adb0e0178 CheckTypeSize: Fix with clang '-Werror,-Wmissing-variable-declarations' Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3112
| * | | | | CheckTypeSize: Fix with clang '-Werror,-Wmissing-variable-declarations'Campbell Barton2019-03-181-1/+1
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Resolve issue building with missing variable declarations, error: ``` /src/cmake_clang/CMakeFiles/CheckTypeSize/CMAKE_SIZEOF_UNSIGNED_LONG.c:24:6: error: no previous extern declaration for non-static variable 'info_size' [-Werror,-Wmissing-variable-declarations] char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[', ^ 1 error generated. ```
* | | | | Merge topic 'FindBLAS-mklroot'Brad King2019-03-191-0/+26
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 90b7758489 FindBLAS: respect MKLROOT and MKL_ROOT if available Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3108
| * | | | | FindBLAS: respect MKLROOT and MKL_ROOT if availableMario Emmenlauer2019-03-151-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: #19052
* | | | | | Merge topic 'file_time_comparison'Brad King2019-03-1917-338/+350
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ec3c968de2 cmake: Use scopes to limit temporary object lifetime 1de0c827a1 cmDependsC: Read cache file modification time only once 5536cec46e Rename cmFileTimeCache::FileTimeCompare to cmFileTimeCache::Compare 98d4846953 Rename cmFileTimeCache::FileTimesDiffer to cmFileTimeCache::DifferS a6d75a1ce0 Substitute FileComparison in variable names with FileTimeCache 216416219a Rename cmFileTimeComparison to cmFileTimeCache 3160258393 cmFileTimeComparison: Replace anonymous private class with std::map 103aa9e46a cmFileTimeComparison: Use cmFileTime internally ... Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Brad King <brad.king@kitware.com> Merge-request: !3101
| * | | | | | cmake: Use scopes to limit temporary object lifetimeSebastian Holtermann2019-03-181-14/+16
| | | | | | |
| * | | | | | cmDependsC: Read cache file modification time only onceSebastian Holtermann2019-03-181-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using cmFileTime to store and compare file times in cmDependsC allows us to read the cache file modification time only once instead of over and over again for each comparison.
| * | | | | | Rename cmFileTimeCache::FileTimeCompare to cmFileTimeCache::CompareSebastian Holtermann2019-03-186-17/+13
| | | | | | |
| * | | | | | Rename cmFileTimeCache::FileTimesDiffer to cmFileTimeCache::DifferSSebastian Holtermann2019-03-183-4/+3
| | | | | | |
| * | | | | | Substitute FileComparison in variable names with FileTimeCacheSebastian Holtermann2019-03-185-18/+18
| | | | | | |
| * | | | | | Rename cmFileTimeComparison to cmFileTimeCacheSebastian Holtermann2019-03-1811-41/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The name `cmFileTimeCache` reflects the functionality of the class more appropriately.
| * | | | | | cmFileTimeComparison: Replace anonymous private class with std::mapSebastian Holtermann2019-03-182-54/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After the switch to `cmFileTime`, the anonymous private class of `cmFileTimeComparison` held only a `std::map`. This moves the `std::map` to the `cmFileTimeComparison` class itself and removes the instantiation of an anonymous private class.
| * | | | | | cmFileTimeComparison: Use cmFileTime internallySebastian Holtermann2019-03-183-184/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This replaces OS dependent code in `cmFileTimeComparison` with `cmFileTime` instances that provide the required file time load and comparison operations. A new public `cmFileTimeComparison::Load` method is introduced that, for a given file name, updates the `cmFileTimeComparison` cache on demand and returns a `cmFileTime` instance on success.
| * | | | | | New cmFileTime classSebastian Holtermann2019-03-184-0/+184
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | The new cmFileTime class stores the file modification time as an OS independent nanosecond count. Its main use is to load and compare file modification times in nanosecond and second resolution.
* | | | | | Merge topic 'environment-modules'Brad King2019-03-197-0/+382
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dfea916d3c FindEnvModules: Provide a CMake interface to environment modules Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3076
| * | | | | | FindEnvModules: Provide a CMake interface to environment modulesChuck Atkins2019-03-187-0/+382
| | | | | | |
* | | | | | | Merge topic 'cray-bad-compiler-option'Brad King2019-03-191-0/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c213e34d0c cray: Detect bad options passed on the command line Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3110
| * | | | | | | cray: Detect bad options passed on the command lineChuck Atkins2019-03-151-0/+1
| | |_|/ / / / | |/| | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2019-03-191-1/+1
| |_|_|/ / / |/| | | | |
* | | | | | Merge topic 'utf8-fixes'Brad King2019-03-182-7/+29
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fb5de060bc cm_utf8: reject codepoints above 0x10FFFF a11e5e021b cm_utf8: reject UTF-16 surrogate half codepoints 7111873efd testUTF8: add more test cases bba2b1c89b testUTF8: comment why sequences are invalid Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3097
| * | | | | | cm_utf8: reject codepoints above 0x10FFFFBen Boeckel2019-03-142-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These are invalid because the Unicode standard says so (because UTF-16 as specified today cannot encode them).
| * | | | | | cm_utf8: reject UTF-16 surrogate half codepointsBen Boeckel2019-03-142-2/+7
| | | | | | |
| * | | | | | testUTF8: add more test casesBen Boeckel2019-03-141-6/+16
| | | | | | |
| * | | | | | testUTF8: comment why sequences are invalidBen Boeckel2019-03-141-2/+6
| | |/ / / / | |/| | | |
* | | | | | Merge topic 'ExternalProject-optimize-git'Brad King2019-03-181-38/+28
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c58f5e116e ExternalProject: Extend documentation about GIT_TAG usage 8355665f8d ExternalProject: Drop unnecessary 'git submodule init' 00b5f1a1b5 ExternalProject: Simplify generated 'git clone' scripts 98e6822fdf ExternalProject: Re-run 'git clone' when GIT_REMOTE_NAME changes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3095
| * | | | | | ExternalProject: Extend documentation about GIT_TAG usageBartosz Kosiorek2019-03-151-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When GIT_SHALLOW is used, the '--depth 1 --no-single-branch' arguments are add. It means that only branch names and tags is downloaded to repository. Most Commit Hash is not working. With this commit the documentation was updated, to describe the limitation of GIT_SHALLOW.
| * | | | | | ExternalProject: Drop unnecessary 'git submodule init'Bartosz Kosiorek2019-03-141-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 79410eeb1f (ExternalProject: Initialize Git submodules recursively and on update (#16083), 2016-04-26, v3.6.0-rc1~105^2) our `git submodule update` step uses the `--init` flag. This makes the prior `git submodule init` unnecessary.
| * | | | | | ExternalProject: Simplify generated 'git clone' scriptsBartosz Kosiorek2019-03-141-28/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revise script generation to hard-code selected options instead of building them with logic inside the script.
| * | | | | | ExternalProject: Re-run 'git clone' when GIT_REMOTE_NAME changesBartosz Kosiorek2019-03-141-1/+1
| | |_|_|_|/ | |/| | | |
* | | | | | Merge topic 'FindGLEW-updates'Brad King2019-03-186-33/+314
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a77a30e657 FindGLEW: Add test a7d853868b FindGLEW: Update implementation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3094
| * | | | | | FindGLEW: Add testClaudio Fantacci2019-03-154-0/+40
| | | | | | |
| * | | | | | FindGLEW: Update implementationClaudio Fantacci2019-03-152-33/+274
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replicate behaviour of upstream GLEW. * define the imported target GLEW::glew for the shared library GLEW * if GLEW_USE_STATIC_LIBS is defined and set to TRUE, this module instead defines the imported target GLEW::glew_s for the static library GLEW * an imported target GLEW::GLEW is created as a copy of either GLEW::glew or GLEW::glew_s * by setting GLEW_VERBOSE you print out the log of the module. Fixes: #17638, #17864, #18989