cmLocalGenerator: Add cmake instance accessor.

This commit is contained in:
Stephen Kelly 2015-10-07 00:37:31 +02:00
parent 29a2d9fe69
commit 27916f2cd1
2 changed files with 7 additions and 0 deletions

View File

@ -2858,6 +2858,11 @@ cmLocalGenerator
return source.GetLanguage(); return source.GetLanguage();
} }
cmake* cmLocalGenerator::GetCMakeInstance() const
{
return this->GlobalGenerator->GetCMakeInstance();
}
//---------------------------------------------------------------------------- //----------------------------------------------------------------------------
std::string std::string
cmLocalGenerator::GetTargetDirectory(cmTarget const&) const cmLocalGenerator::GetTargetDirectory(cmTarget const&) const

View File

@ -251,6 +251,8 @@ public:
*/ */
bool NeedBackwardsCompatibility_2_4(); bool NeedBackwardsCompatibility_2_4();
cmake* GetCMakeInstance() const;
/** /**
* Generate a Mac OS X application bundle Info.plist file. * Generate a Mac OS X application bundle Info.plist file.
*/ */