mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-28 18:09:42 -05:00
cmGeneratorTarget: add a query for whether to use short object names
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user