summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* CMake Nightly Date StampKitware Robot2019-03-201-1/+1
|
* Merge topic 'cmake--install'Kyle Edwards2019-03-191-0/+125
|\ | | | | | | | | | | | | | | | | | | | | 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-161-0/+125
| | | | | | | | Fixes: #19023
* | Merge topic 'improve-tar-command'Kyle Edwards2019-03-193-12/+13
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 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-182-12/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | cmake: tar: Display warning when no files provided during archive creationBartosz Kosiorek2019-03-181-0/+4
| | |
* | | 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-192-0/+23
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-182-0/+23
| | | | |
* | | | | Merge topic 'file_time_comparison'Brad King2019-03-1916-337/+348
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-1810-40/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-183-0/+183
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | CMake Nightly Date StampKitware Robot2019-03-191-1/+1
| |/ / / |/| | |
* | | | Merge topic 'utf8-fixes'Brad King2019-03-181-0/+10
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-141-0/+5
| | | | | | | | | | | | | | | | | | | | 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-141-0/+5
| | | |
* | | | CMake Nightly Date StampKitware Robot2019-03-181-1/+1
| |/ / |/| |
* | | CMake Nightly Date StampKitware Robot2019-03-171-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2019-03-161-1/+1
| | |
* | | Merge topic 'export-package-default-off'Brad King2019-03-152-4/+21
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-152-4/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | |/ / | |/| |
* | | | Merge topic 'find_program-windows-share'Brad King2019-03-151-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 00c4ddf75e find_program: Restore leading double slash on Windows network path Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3105
| * | | | find_program: Restore leading double slash on Windows network pathBrad King2019-03-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit c76c1ea208 (find_program: Consider CWD only for paths with separator, 2018-05-31, v3.13.0-rc1~413^2) we accidentally convert the leading `//` to just `/` on results with Windows network paths. This was caused by `CollapseCombinedPath` being less robust than `CollapseFullPath`. Restore use of the latter but in a way that preserves the requirement of the above commit to support candidates that are themselves absolute. Fixes: #19049 Issue: #19050
* | | | | Merge topic 'vs2019-wow64'Brad King2019-03-151-5/+10
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5c50eeaffc VS: Fix x64 host recognition by x86 cmake process Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3102
| * | | | | VS: Fix x64 host recognition by x86 cmake processBrad King2019-03-141-5/+10
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit 57e48f16f2 (VS: Add Visual Studio 16 2019 generator, 2019-01-09, v3.14.0-rc1~150^2) and commit 0fd742a6ff (VS: Teach VS 2019 generator to select host tools matching host arch, 2019-01-28, v3.14.0-rc1~63^2) we intended to select the `x64` target architecture and `x64` host tools by default on x64 host machines. Fix detection of a x64 host when CMake itself is a 32-bit x86 process. The KWSys SystemInformation `Is64Bits` member is not set correctly, which led to this bug. Pending investigation on the KWSys side, simply test ourselves via `IsWow64Process`.
| * | | | CMake 3.14.0v3.14.0Brad King2019-03-141-1/+1
| | | | |
* | | | | Merge topic 'cmake-gui-unused-code'Brad King2019-03-151-3/+0
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dd8c2f3e57 cmake-gui: Drop code not needed with current required CMake version Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3099
| * | | | | cmake-gui: Drop code not needed with current required CMake versionBrad King2019-03-141-3/+0
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2019-03-151-1/+1
|/ / / / /
* | | | | Merge topic 'refactor_cmfilecopier'Brad King2019-03-146-1080/+1191
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e2e8f6b132 cmFileCommand: Factor out cmFileCopier and cmFileInstaller Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2664
| * | | | | cmFileCommand: Factor out cmFileCopier and cmFileInstallerBryon Bean2019-03-136-1080/+1191
| | | | | | | | | | | | | | | | | | | | | | | | Split these classes out into their own sources.
* | | | | | Merge topic 'string_scopes'Brad King2019-03-144-68/+56
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3039fd7a29 cmDependsC: Use faster cmSystemTools::FileTimeCompare b96c3c74dd cmDependsC: Use auto for long type names e81b425019 cmDependsC: Remove useless string preallocation artifact d1a54ee26a cmDepends: Reduce temporary object lifetime with local scopes ae416a6b5c cmLocalUnixMakefileGenerator3: Use std::unique_ptr instead of new/delete 60a407b01c cmLocalUnixMakefileGenerator3: Pass strings instead of recomputing them addd1ce402 cmLocalUnixMakefileGenerator3: Move local strings into local brace scopes Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Brad King <brad.king@kitware.com> Merge-request: !3088
| * | | | | | cmDependsC: Use faster cmSystemTools::FileTimeCompareSebastian Holtermann2019-03-131-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The file stat caching feature of the local cmFileTimeComparison instance is unused in the addressed context. To avoid the allocation and initialization overhead of cmFileTimeComparison use cmSystemTools::FileTimeCompare instead.
| * | | | | | cmDependsC: Use auto for long type namesSebastian Holtermann2019-03-121-3/+2
| | | | | | |
| * | | | | | cmDependsC: Remove useless string preallocation artifactSebastian Holtermann2019-03-121-13/+6
| | | | | | |
| * | | | | | cmDepends: Reduce temporary object lifetime with local scopesSebastian Holtermann2019-03-121-17/+17
| | | | | | |
| * | | | | | cmLocalUnixMakefileGenerator3: Use std::unique_ptr instead of new/deleteSebastian Holtermann2019-03-121-10/+6
| | | | | | |
| * | | | | | cmLocalUnixMakefileGenerator3: Pass strings instead of recomputing themSebastian Holtermann2019-03-122-14/+12
| | | | | | |
| * | | | | | cmLocalUnixMakefileGenerator3: Move local strings into local brace scopesSebastian Holtermann2019-03-121-8/+11
| | | | | | |