diff options
| author | Rolf Eike Beer <eb@emlix.com> | 2019-09-09 08:34:08 (GMT) |
|---|---|---|
| committer | Rolf Eike Beer <eb@emlix.com> | 2019-09-09 08:34:08 (GMT) |
| commit | 5b96fd5b81bde4655e471a31bf0fc579c1d10136 (patch) | |
| tree | 13d9a3b24d84e1d15c4e1929c6c6224ae126675f /Help/guide/tutorial/Step6/MathFunctions/MakeTable.cxx | |
| parent | 5eaf1e1be289245267263536f5464e40d2a677c0 (diff) | |
| download | CMake-5b96fd5b81bde4655e471a31bf0fc579c1d10136.zip CMake-5b96fd5b81bde4655e471a31bf0fc579c1d10136.tar.gz CMake-5b96fd5b81bde4655e471a31bf0fc579c1d10136.tar.bz2 | |
use cmSystemTools::MoveFileIfDifferent()
This is better than doing CopyFileIfDifferent() followed by RemoveFile() in
two ways:
- it is more efficient, as it avoids disk I/O for the data, even if the
files here are usually small
- it is atomic, so an abort during the copy will not leave a destination file
with partial data behind
Diffstat (limited to 'Help/guide/tutorial/Step6/MathFunctions/MakeTable.cxx')
0 files changed, 0 insertions, 0 deletions
