diff options
author | Brad King <brad.king@kitware.com> | 2009-02-09 14:23:55 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-02-09 14:23:55 (GMT) |
commit | ae873d4a8987fc840d7b7515719d438918ea8f5b (patch) | |
tree | fa5cbf6ec67c6faa059de0ff61ccc5f2fc13a970 /Tests/CMakeTests/CMakeLists.txt | |
parent | ca096a4596c8993cbadd5fc6e612ac349db6355c (diff) | |
download | CMake-ae873d4a8987fc840d7b7515719d438918ea8f5b.zip CMake-ae873d4a8987fc840d7b7515719d438918ea8f5b.tar.gz CMake-ae873d4a8987fc840d7b7515719d438918ea8f5b.tar.bz2 |
ENH: Add get_filename_component(... REALPATH)
This patch from Philip Lowman creates a REALPATH mode in the
get_filename_component command. It is like ABSOLUTE, but will also
resolve symlinks (which ABSOLUTE once did but was broken long ago).
See issue #8423.
Diffstat (limited to 'Tests/CMakeTests/CMakeLists.txt')
-rw-r--r-- | Tests/CMakeTests/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/CMakeTests/CMakeLists.txt b/Tests/CMakeTests/CMakeLists.txt index 9f91abc..9e3c3e7 100644 --- a/Tests/CMakeTests/CMakeLists.txt +++ b/Tests/CMakeTests/CMakeLists.txt @@ -14,6 +14,7 @@ AddCMakeTest(VariableWatch "") AddCMakeTest(Include "") AddCMakeTest(FindBase "") AddCMakeTest(Toolchain "") +AddCMakeTest(GetFilenameComponentRealpath "") SET(GetPrerequisites_PreArgs "-DCTEST_CONFIGURATION_TYPE:STRING=\\\${CTEST_CONFIGURATION_TYPE}" |