https://github.com/Kitware/CMake
Revision 9b6c3d0782863b90a8da2d67153a528c8465f64f authored by Brad King on 22 September 2009, 17:02:20 UTC, committed by Brad King on 22 September 2009, 17:02:20 UTC
We optimize this method by using the GetFileAttributesExA native Windows API to check for file existence when possible. For real Windows builds we always use it. For Cygwin we use cygwin_conv_to_win32_path to get a native Windows path if possible and otherwise fall back to 'access'. Cygwin-to-Windows path conversion and cache by Wojciech Migda. See issue #8826.
1 parent 664a409
Tip revision: 9b6c3d0782863b90a8da2d67153a528c8465f64f authored by Brad King on 22 September 2009, 17:02:20 UTC
Optimize KWSys SystemTools::FileExists on Windows
Optimize KWSys SystemTools::FileExists on Windows
Tip revision: 9b6c3d0
File | Mode | Size |
---|---|---|
Docs | ||
Example | ||
Modules | ||
Source | ||
Templates | ||
Tests | ||
Utilities | ||
.gitattributes | -rw-r--r-- | 305 bytes |
CMakeCPack.cmake | -rw-r--r-- | 4.9 KB |
CMakeCPackOptions.cmake.in | -rw-r--r-- | 2.6 KB |
CMakeGraphVizOptions.cmake | -rw-r--r-- | 153 bytes |
CMakeLists.txt | -rw-r--r-- | 17.8 KB |
CMakeLogo.gif | -rw-r--r-- | 4.4 KB |
CTestConfig.cmake | -rw-r--r-- | 413 bytes |
CTestCustom.cmake.in | -rw-r--r-- | 1.8 KB |
CTestCustom.ctest.in | -rw-r--r-- | 145 bytes |
ChangeLog.txt | -rw-r--r-- | 2.0 MB |
CompileFlags.cmake | -rw-r--r-- | 1.8 KB |
Copyright.txt | -rw-r--r-- | 2.2 KB |
DartConfig.cmake | -rw-r--r-- | 236 bytes |
DartLocal.conf.in | -rw-r--r-- | 4.0 KB |
Readme.txt | -rw-r--r-- | 1.9 KB |
bootstrap | -rwxr-xr-x | 47.5 KB |
cmake.1 | -rw-r--r-- | 3.6 KB |
cmake_uninstall.cmake.in | -rw-r--r-- | 968 bytes |
configure | -rwxr-xr-x | 114 bytes |
doxygen.config | -rw-r--r-- | 27.7 KB |
Computing file changes ...