On 04.10.2014 02:25, David Cole wrote:
Is the result of RelativePath guaranteed to be a directory name, or is
it possibly a file name....?

If the second operand is a path to a file the result is a path to a file.
If the second operand is a path to a directory the result is a path to a directory.

The first operand can only be a path to a directory.

A path can not at the same time refer to a file and a directory.

So when both operands are the same path this gives that they, as well as the result, can only be directory paths.

Nils
--

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