diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2019-03-13 16:54:01 +0100 |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2019-03-18 15:09:10 +0100 |
commit | 6f24c4e93f6ae897b793f894b67543d86c7de477 (patch) | |
tree | 0394dff24abf759349bcc6c2914b4fb126e394a4 /Source/CMakeLists.txt | |
parent | b06f8c93e5bc65394fe55b3f7ae923fe296048b3 (diff) | |
download | cmake-6f24c4e93f6ae897b793f894b67543d86c7de477.tar.gz |
New cmFileTime class
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.
Diffstat (limited to 'Source/CMakeLists.txt')
-rw-r--r-- | Source/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index 696826f949..140754cebb 100644 --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt @@ -236,6 +236,8 @@ set(SRCS cmFileLockResult.h cmFilePathChecksum.cxx cmFilePathChecksum.h + cmFileTime.cxx + cmFileTime.h cmFileTimeComparison.cxx cmFileTimeComparison.h cmFortranParserImpl.cxx @@ -796,6 +798,8 @@ foreach(check else() set(CMake_${check} 0) endif() + set_property(SOURCE cmFileTime.cxx APPEND PROPERTY + COMPILE_DEFINITIONS CMake_${check}=${CMake_${check}}) set_property(SOURCE cmFileTimeComparison.cxx APPEND PROPERTY COMPILE_DEFINITIONS CMake_${check}=${CMake_${check}}) endforeach() |