mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-02 04:02:23 +03:00
cmGeneratorTarget: query the local generator for the target directory
This commit is contained in:
1 parent
ff5d7bc301
commit
36f85ee0cc
1 file changed
+3
-8
@@ -5217,14 +5217,9 @@ bool cmGeneratorTarget::NeedImportLibraryName(std::string const& config) const
|
||||
|
||||
std::string cmGeneratorTarget::GetSupportDirectory() const
|
||||
{
|
||||
std::string dir = cmStrCat(this->LocalGenerator->GetCurrentBinaryDirectory(),
|
||||
"/CMakeFiles/", this->GetName());
|
||||
#if defined(__VMS)
|
||||
dir += "_dir";
|
||||
#else
|
||||
dir += ".dir";
|
||||
#endif
|
||||
return dir;
|
||||
cmLocalGenerator* lg = this->GetLocalGenerator();
|
||||
return cmStrCat(lg->GetCurrentBinaryDirectory(), '/',
|
||||
lg->GetTargetDirectory(this));
|
||||
}
|
||||
|
||||
bool cmGeneratorTarget::IsLinkable() const
|
||||
|
||||
Reference in new issue
Block a user