I am running into an issue that causing me a bit of trouble: file(GLOB globOutput test) returns the absolute path to test (assuming there is a test directory under my current dir). Whereas file(GLOB globOutput .) returns an empty string. This is particularly annoying because file(GLOB globOutput non-existant-dir) also returns an empty string.
And the follow on to this is that the documentation for IS_DIRECTORY, EXISTS, ... says: Behavior is well-defined only for full paths. What exactly does that mean? Just to clarify, is a "full path" an absolute path (e.g. as determined by IS_ABSOLUTE)? The only way I have found to get an absolute path is to use file(GLOB which works for anything other than . Kevin Fitch
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
