summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorGeoff Viola <geoffrey.viola@asirobots.com>2016-05-05 04:49:27 (GMT)
committerBrad King <brad.king@kitware.com>2016-05-06 12:21:05 (GMT)
commit5e4287131bc53824eac949dcc56a4cee9f6f907d (patch)
tree6dc819dfd41d4d80688fbd4bcb5764571514bc81 /Source/cmLocalGenerator.cxx
parent8d7ef6a8b02f2fca4ccb9aaad71ca0d2235ce8a6 (diff)
downloadCMake-5e4287131bc53824eac949dcc56a4cee9f6f907d.zip
CMake-5e4287131bc53824eac949dcc56a4cee9f6f907d.tar.gz
CMake-5e4287131bc53824eac949dcc56a4cee9f6f907d.tar.bz2
GHS: Shorten long object paths with duplicate source names
Detect when the resulting object path is too long and compute an alternative name using a hash.
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index 6c2ba05..6db18f7 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -2667,7 +2667,6 @@ cmLocalGeneratorShortenObjectName(std::string& objName,
}
}
-static
bool cmLocalGeneratorCheckObjectName(std::string& objName,
std::string::size_type dir_len,
std::string::size_type max_total_len)