summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* | | | | | | Merge topic 'release_note_for_cuda_compiler_generator_expressions'Brad King2019-03-181-0/+5
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 380b2dae55 Add a release note for the cuda compiler generator expressions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3109
| * | | | | | | Add a release note for the cuda compiler generator expressionsRobert Maynard2019-03-151-0/+5
| | | | | | | |
* | | | | | | | Merge topic 'import-zstd'Brad King2019-03-181-0/+3
|\ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 80af3ddea7 zstd: Disable BMI2 instructions for build within CMake Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3107
| * | | | | | | zstd: Disable BMI2 instructions for build within CMakeBrad King2019-03-151-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Our nightly and release binaries build in an environment that does not support these instructions. Disable them everywhere for simplicity because CMake's application of this library is not performance-critical.
* | | | | | | | CMake Nightly Date StampKitware Robot2019-03-181-1/+1
| |_|_|_|_|_|/ |/| | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2019-03-171-1/+1
| | | | | | |
* | | | | | | Merge topic 'pkg-config-linker-flags'Marc Chevrier2019-03-163-1/+31
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b759fa9b8e FindPkgConfig: Set linker flags on imported targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3082
| * | | | | | | FindPkgConfig: Set linker flags on imported targetsRadek Nadstawny2019-03-133-1/+31
| | | | | | | |
* | | | | | | | CMake Nightly Date StampKitware Robot2019-03-161-1/+1
| |_|/ / / / / |/| | | | | |
* | | | | | | Merge topic 'export-package-default-off'Brad King2019-03-1511-14/+117
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9bede5c4ce export: Disable PACKAGE mode user package registry by default Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Lukas Mosimann <lumosimann@gmail.com> Merge-request: !3041
| * | | | | | | export: Disable PACKAGE mode user package registry by defaultRobert Maynard2019-03-1511-14/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The user package registry populated by the `export()` command causes side effects outside the build and source directories. Such effects should be opt-in rather than op-out. Introduce a policy to change default behavior of `export(PACKAGE)` to do nothing.
* | | | | | | | Merge topic 'ninja-dyndep-touchups'Brad King2019-03-152-2/+2
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 76e6e01c6c cmNinjaTargetGenerator: use a different depfile for preprocessing 414332ff57 cmake_ninja_dyndep: don't duplicate slashes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3093
| * | | | | | | | cmNinjaTargetGenerator: use a different depfile for preprocessingBen Boeckel2019-03-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the compile rule also needs a depfile, the names now no longer collide.
| * | | | | | | | cmake_ninja_dyndep: don't duplicate slashesBen Boeckel2019-03-121-1/+1
| | |_|_|_|_|/ / | |/| | | | | |