Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Source: Fix Clang -Wdeprecated warnings | Sean McBride | 2021-10-15 | 1 | -0/+2 |
| | | | | Applied C++ 'rule of three'. | ||||
* | cmFileTime: Fix overflow on time computation | Marc Chevrier | 2020-11-23 | 1 | -20/+32 |
| | | | | | | On Windows, time starting point is Januray, 1st of 1601. So computing number of nanoseconds from this date exceeds 64bit capabilities. | ||||
* | Modernize: Use #pragma once in all header files | Kitware Robot | 2020-09-03 | 1 | -4/+1 |
| | | | | | | | | | | | | | | | | #pragma once is a widely supported compiler pragma, even though it is not part of the C++ standard. Many of the issues keeping #pragma once from being standardized (distributed filesystems, build farms, hard links, etc.) do not apply to CMake - it is easy to build CMake on a single machine. CMake also does not install any header files which can be consumed by other projects (though cmCPluginAPI.h has been deliberately omitted from this conversion in case anyone is still using it.) Finally, #pragma once has been required to build CMake since at least August 2017 (7f29bbe6 enabled server mode unconditionally, which had been using #pragma once since September 2016 (b13d3e0d)). The fact that we now require C++11 filters out old compilers, and it is unlikely that there is a compiler which supports C++11 but does not support #pragma once. | ||||
* | clang-tidy: Replace typedef with using | Regina Pfeifer | 2019-09-03 | 1 | -1/+1 |
| | |||||
* | cmFileTime: Make cmFileTime::Compare method const | Sebastian Holtermann | 2019-03-27 | 1 | -1/+1 |
| | |||||
* | New cmFileTime class | Sebastian Holtermann | 2019-03-18 | 1 | -0/+130 |
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. |