Use GmakeErrorParser instead of deprecated MakeErrorParser (fixes bug 0013699)
This commit is contained in:
parent
77df4ef5ac
commit
c46b46b628
|
@ -39,6 +39,7 @@ cmExtraEclipseCDT4Generator
|
|||
|
||||
this->SupportsVirtualFolders = true;
|
||||
this->GenerateLinkedResources = true;
|
||||
this->SupportsGmakeErrorParser = true;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
@ -77,6 +78,10 @@ void cmExtraEclipseCDT4Generator::Generate()
|
|||
{
|
||||
this->SupportsVirtualFolders = false;
|
||||
}
|
||||
if (version < 3007) // 3.7 is Indigo
|
||||
{
|
||||
this->SupportsGmakeErrorParser = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -403,8 +408,17 @@ void cmExtraEclipseCDT4Generator::CreateProjectFile()
|
|||
{
|
||||
fout << "org.eclipse.cdt.core.ICCErrorParser;";
|
||||
}
|
||||
|
||||
if (this->SupportsGmakeErrorParser)
|
||||
{
|
||||
fout << "org.eclipse.cdt.core.GmakeErrorParser;";
|
||||
}
|
||||
else
|
||||
{
|
||||
fout << "org.eclipse.cdt.core.MakeErrorParser;";
|
||||
}
|
||||
|
||||
fout <<
|
||||
"org.eclipse.cdt.core.MakeErrorParser;"
|
||||
"org.eclipse.cdt.core.GCCErrorParser;"
|
||||
"org.eclipse.cdt.core.GASErrorParser;"
|
||||
"org.eclipse.cdt.core.GLDErrorParser;"
|
||||
|
|
|
@ -111,6 +111,7 @@ private:
|
|||
bool GenerateSourceProject;
|
||||
bool GenerateLinkedResources;
|
||||
bool SupportsVirtualFolders;
|
||||
bool SupportsGmakeErrorParser;
|
||||
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue