mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-02 04:02:23 +03:00
cmLocalGenerator: add a GetObjectOutputRoot method
This will allow object locations to be changed in a single place.
This commit is contained in:
1 parent
b82a74d918
commit
b1d9a5313c
2 files changed
+7
No files matched your search
@@ -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();
|
||||
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user