mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-15 20:46:37 +08:00
Eclipse: Add org.eclipse.cdt.core.cnature to CXX projects (#15068)
Since commit v3.0.0-rc1~335^2~1 (eclipse: Add natures for Eclipse based on enabled languages, 2013-08-29) CXX projects got only "ccnature", but Eclipse itself also adds "cnature" when creating C++ projects. Fix this by adding both for CXX projects.
This commit is contained in:

committed by
Brad King

parent
55d6aa36a5
commit
6e6e0c4048
@@ -62,6 +62,7 @@ void cmExtraEclipseCDT4Generator
|
||||
if (*lit == "CXX")
|
||||
{
|
||||
this->Natures.insert("org.eclipse.cdt.core.ccnature");
|
||||
this->Natures.insert("org.eclipse.cdt.core.cnature");
|
||||
}
|
||||
else if (*lit == "C")
|
||||
{
|
||||
|
Reference in New Issue
Block a user