cmMakefile: Out of line some API.

This commit is contained in:
Stephen Kelly 2015-07-08 22:58:30 +02:00
parent b19587e7d7
commit a89c02ce3d
2 changed files with 18 additions and 12 deletions

View File

@ -273,6 +273,21 @@ void cmMakefile::IssueMessage(cmake::MessageType t,
} }
} }
std::vector<cmValueWithOrigin> cmMakefile::GetIncludeDirectoriesEntries() const
{
return this->IncludeDirectoriesEntries;
}
std::vector<cmValueWithOrigin> cmMakefile::GetCompileOptionsEntries() const
{
return this->CompileOptionsEntries;
}
std::vector<cmValueWithOrigin> cmMakefile::GetCompileDefinitionsEntries() const
{
return this->CompileDefinitionsEntries;
}
//---------------------------------------------------------------------------- //----------------------------------------------------------------------------
cmListFileBacktrace cmMakefile::GetBacktrace() const cmListFileBacktrace cmMakefile::GetBacktrace() const
{ {

View File

@ -746,18 +746,9 @@ public:
/** Set whether or not to report a CMP0000 violation. */ /** Set whether or not to report a CMP0000 violation. */
void SetCheckCMP0000(bool b) { this->CheckCMP0000 = b; } void SetCheckCMP0000(bool b) { this->CheckCMP0000 = b; }
std::vector<cmValueWithOrigin> GetIncludeDirectoriesEntries() const std::vector<cmValueWithOrigin> GetIncludeDirectoriesEntries() const;
{ std::vector<cmValueWithOrigin> GetCompileOptionsEntries() const;
return this->IncludeDirectoriesEntries; std::vector<cmValueWithOrigin> GetCompileDefinitionsEntries() const;
}
std::vector<cmValueWithOrigin> GetCompileOptionsEntries() const
{
return this->CompileOptionsEntries;
}
std::vector<cmValueWithOrigin> GetCompileDefinitionsEntries() const
{
return this->CompileDefinitionsEntries;
}
bool IsConfigured() const { return this->Configured; } bool IsConfigured() const { return this->Configured; }
void SetConfigured(){ this->Configured = true; } void SetConfigured(){ this->Configured = true; }