diff options
| author | Sebastian Holtermann <sebholt@xwmw.org> | 2019-03-27 13:35:05 (GMT) |
|---|---|---|
| committer | Sebastian Holtermann <sebholt@xwmw.org> | 2019-03-27 17:11:36 (GMT) |
| commit | 5a15c9e7cb63fb5b884271a1184607a8fa87d442 (patch) | |
| tree | 01ecc682e0671275282669a7c826dbcf505307bd /Tests/FindPython/Python2 | |
| parent | 5f6c236481da552dfdbfff6579dc9d833993adad (diff) | |
| download | CMake-5a15c9e7cb63fb5b884271a1184607a8fa87d442.zip CMake-5a15c9e7cb63fb5b884271a1184607a8fa87d442.tar.gz CMake-5a15c9e7cb63fb5b884271a1184607a8fa87d442.tar.bz2 | |
cmDepends: Refactor cmDepends::CheckDependencies method
This patch changes the following issues in `cmDepends::CheckDependencies`:
- Use the `std::string` based `std::getline` interface to read lines from a
file instead of using raw reads into raw buffers.
- To reduce the file system access, we load file times only once from
`cmFileTimeCache` and keep them on the stack for later comparison.
- When a file is removed from the file system we remove it from the
`cmFileTimeCache` as well.
Diffstat (limited to 'Tests/FindPython/Python2')
0 files changed, 0 insertions, 0 deletions
