Skip to content
  • Brad King's avatar
    SystemTools: Touch with better than 1s resolution if possible · dccf7725
    Brad King authored
    On Windows use CreateFile (with FILE_FLAG_BACKUP_SEMANTICS so it works
    for directories), GetSystemTimeAsFileTime, and SetFileTime to touch.  On
    other platforms prefer utimensat, then utimes, then utime.
    
    Change-Id: Ie85fe3766661803e66f39975a147cd6f7320ea59
    CMake-Issue: 14020
    dccf7725