diff options
author | Brad King <brad.king@kitware.com> | 2009-09-22 20:16:56 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-09-22 20:16:56 (GMT) |
commit | 3fe5f8d96054b21736fca56ffdd6c94ccbcd7228 (patch) | |
tree | 676131942426f864daaed5f8b3697101752e71af /Source/cmLocalGenerator.h | |
parent | 25cf2f4352aa70ab7d6f5a66b8ad38b598a61843 (diff) | |
download | CMake-3fe5f8d96054b21736fca56ffdd6c94ccbcd7228.zip CMake-3fe5f8d96054b21736fca56ffdd6c94ccbcd7228.tar.gz CMake-3fe5f8d96054b21736fca56ffdd6c94ccbcd7228.tar.bz2 |
Optionally force conversion to relative path
In cmLocalGenerator::ConvertToRelativePath we normally convert to
relative path only if the local and remote paths both lie inside the
source tree or both lie inside the build tree. This commit adds an
optional 'force' argument to allow conversion even when this rule is
violated.
Diffstat (limited to 'Source/cmLocalGenerator.h')
-rw-r--r-- | Source/cmLocalGenerator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h index a1046ad..43521fa 100644 --- a/Source/cmLocalGenerator.h +++ b/Source/cmLocalGenerator.h @@ -260,7 +260,7 @@ public: * or quoted. */ std::string ConvertToRelativePath(const std::vector<std::string>& local, - const char* remote); + const char* remote, bool force=false); /** * Get the relative path from the generator output directory to a |