cmGeneratorTarget: add a query for whether to use short object names

This commit is contained in:
Ben Boeckel
2025-05-21 14:49:38 +02:00
parent 02b2153d84
commit c4bf198aed
2 changed files with 7 additions and 0 deletions
+5
View File
@@ -5355,6 +5355,11 @@ bool cmGeneratorTarget::NeedImportLibraryName(std::string const& config) const
this->GetType() == cmStateEnums::MODULE_LIBRARY));
}
bool cmGeneratorTarget::GetUseShortObjectNames() const
{
return this->LocalGenerator->UseShortObjectNames();
}
std::string cmGeneratorTarget::GetSupportDirectory() const
{
cmLocalGenerator* lg = this->GetLocalGenerator();
+2
View File
@@ -937,6 +937,8 @@ public:
/** Return whether or not the target has a DLL import library. */
bool HasImportLibrary(std::string const& config) const;
bool GetUseShortObjectNames() const;
/** Get a build-tree directory in which to place target support files. */
std::string GetSupportDirectory() const;
std::string GetCMFSupportDirectory() const;