mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
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.
This commit is contained in:
@@ -404,4 +404,10 @@ private:
|
||||
void ComputeObjectMaxPath();
|
||||
};
|
||||
|
||||
#if defined(CMAKE_BUILD_WITH_CMAKE)
|
||||
bool cmLocalGeneratorCheckObjectName(std::string &objName,
|
||||
std::string::size_type dir_len,
|
||||
std::string::size_type max_total_len);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user