ENH: also check for .hpp and .cxx files

Alex
This commit is contained in:
Alexander Neundorf 2007-08-21 13:47:29 -04:00
parent d0833b7bc3
commit 326e114439
1 changed files with 2 additions and 2 deletions

View File

@ -245,8 +245,8 @@ bool cmGlobalKdevelopGenerator
if (fileToOpen.empty())
{
std::string ext = cmSystemTools::GetFilenameExtension(tmp);
if ((ext==".c") || (ext==".cc") || (ext==".cpp")
|| (ext==".C") || (ext==".h"))
if ((ext==".c") || (ext==".cc") || (ext==".cpp") || (ext==".cxx")
|| (ext==".C") || (ext==".h") || (ext==".hpp"))
{
fileToOpen=tmp;
}