diff options
author | Brad King <brad.king@kitware.com> | 2013-05-16 18:37:32 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-05-16 18:37:32 (GMT) |
commit | 27e4ddcd3f09e1412a0219bd9ea2e72116e86292 (patch) | |
tree | 2e66a54217056e1d907e39ff99aa0f7bf4040bcc /Source/cmExtraEclipseCDT4Generator.cxx | |
parent | 823022dd2ebf1dd1fc9c492db21d9e688c5719ab (diff) | |
parent | c46b46b6285e4c893341659f0be8ac306060bf9b (diff) | |
download | CMake-27e4ddcd3f09e1412a0219bd9ea2e72116e86292.zip CMake-27e4ddcd3f09e1412a0219bd9ea2e72116e86292.tar.gz CMake-27e4ddcd3f09e1412a0219bd9ea2e72116e86292.tar.bz2 |
Merge topic 'EclipseUseGmakeErrorParser_13699'
c46b46b Use GmakeErrorParser instead of deprecated MakeErrorParser (fixes bug 0013699)
Diffstat (limited to 'Source/cmExtraEclipseCDT4Generator.cxx')
-rw-r--r-- | Source/cmExtraEclipseCDT4Generator.cxx | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/Source/cmExtraEclipseCDT4Generator.cxx b/Source/cmExtraEclipseCDT4Generator.cxx index 97ab086..22a1020 100644 --- a/Source/cmExtraEclipseCDT4Generator.cxx +++ b/Source/cmExtraEclipseCDT4Generator.cxx @@ -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;" |