Xcode: Recognize .hh as C++ (#11307)
This commit is contained in:
parent
3810da1a73
commit
8f0a70e5f0
|
@ -643,7 +643,7 @@ cmGlobalXCodeGenerator::CreateXCodeFileReference(cmSourceFile* sf,
|
||||||
sourcecode += ".c.h";
|
sourcecode += ".c.h";
|
||||||
}
|
}
|
||||||
else if(ext == "hxx" || ext == "hpp" || ext == "txx"
|
else if(ext == "hxx" || ext == "hpp" || ext == "txx"
|
||||||
|| ext == "pch")
|
|| ext == "pch" || ext == "hh")
|
||||||
{
|
{
|
||||||
sourcecode += ".cpp.h";
|
sourcecode += ".cpp.h";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue