summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-12-16 14:14:40 (GMT)
committerBrad King <brad.king@kitware.com>2008-12-16 14:14:40 (GMT)
commit3cf9265fa7d1f6c7753ae5f19947409e4d9b8e9c (patch)
tree3fc931ad8e1d7e26aa00a41009e35cb53538bb12 /Source/cmLocalGenerator.h
parent63e186a8e69e0283d4fa0499ee8679ebdd844e1d (diff)
downloadCMake-3cf9265fa7d1f6c7753ae5f19947409e4d9b8e9c.zip
CMake-3cf9265fa7d1f6c7753ae5f19947409e4d9b8e9c.tar.gz
CMake-3cf9265fa7d1f6c7753ae5f19947409e4d9b8e9c.tar.bz2
ENH: Refactor passing of max length object dir
When computing the maximum length full path to the build directory under which object files will be placed, pass the actual path instead of just its length. This will be useful for error message generation.
Diffstat (limited to 'Source/cmLocalGenerator.h')
-rw-r--r--Source/cmLocalGenerator.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h
index 9af44c9..0f4c1e9 100644
--- a/Source/cmLocalGenerator.h
+++ b/Source/cmLocalGenerator.h
@@ -340,10 +340,10 @@ protected:
// Compute object file names.
std::string GetObjectFileNameWithoutTarget(const cmSourceFile& source,
- std::string::size_type dir_len,
+ std::string const& dir_max,
bool* hasSourceExtension = 0);
std::string& CreateSafeUniqueObjectFileName(const char* sin,
- std::string::size_type dir_len);
+ std::string const& dir_max);
void ConfigureRelativePaths();
std::string FindRelativePathTopSource();