cmLocalGenerator: add a GetObjectOutputRoot method

This will allow object locations to be changed in a single place.
This commit is contained in:
John Parent authored and Ben Boeckel committed 2025-05-23 11:39:54 +02:00
1 parent b82a74d918
commit b1d9a5313c
2 files changed
+7

No files matched your search

+5
View File
@@ -4286,6 +4286,11 @@ std::string cmLocalGenerator::GetObjectFileNameWithoutTarget(
return this->CreateSafeUniqueObjectFileName(objectName, dir_max);
}
std::string cmLocalGenerator::GetObjectOutputRoot() const
{
return this->GetCurrentBinaryDirectory();
}
std::string cmLocalGenerator::GetSourceFileLanguage(cmSourceFile const& source)
{
return source.GetLanguage();
+2
View File
@@ -438,6 +438,8 @@ public:
std::string const& GetCurrentBinaryDirectory() const;
std::string const& GetCurrentSourceDirectory() const;
virtual std::string GetObjectOutputRoot() const;
/**
* Generate a macOS application bundle Info.plist file.
*/