Hello,

Recently I migrated from cmake 2.8.12 to cmake 3.8 and FILE(TIMESTAMP ...)
behaviour changed. Now it reports symbolic link timestamp instead of
pointed file timestamp.

Looking through CMake documentation, it seems I could workaround this issue
using the command get_filename_component which documentation states there
is a parameter that seems to fix my problem:

REALPATH  = Full path to existing file with symlinks resolved


However, it does not resolves symlinks under Windows. I am working on a
patch to fix both get_filename_compoment and FILE(TIMESTAMP ...) and make
their behaviour consistent among architectures (under unix systems symlinks
are resolve in the refered commands).

What troubles me is that symlink under Windows is a feature introduced in
Windows Vista and the change for handling them will break Windows XP
compatibility. Is this acceptable?

Regards.
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to