mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Makefiles: support shortened object filenames
This commit is contained in:
@@ -201,6 +201,15 @@ void cmLocalUnixMakefileGenerator3::Generate()
|
||||
this->WriteDirectoryInformationFile();
|
||||
}
|
||||
|
||||
std::string cmLocalUnixMakefileGenerator3::GetObjectOutputRoot() const
|
||||
{
|
||||
if (this->UseShortObjectNames()) {
|
||||
return cmStrCat(this->GetCurrentBinaryDirectory(), '/',
|
||||
this->GetGlobalGenerator()->GetShortBinaryOutputDir());
|
||||
}
|
||||
return cmStrCat(this->GetCurrentBinaryDirectory(), "/CMakeFiles");
|
||||
}
|
||||
|
||||
void cmLocalUnixMakefileGenerator3::ComputeHomeRelativeOutputPath()
|
||||
{
|
||||
// Compute the path to use when referencing the current output
|
||||
|
||||
Reference in New Issue
Block a user