Browse Source

ENH: also check for .hpp and .cxx files

Alex
Alexander Neundorf 18 years ago
parent
commit
326e114439
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Source/cmGlobalKdevelopGenerator.cxx

+ 2 - 2
Source/cmGlobalKdevelopGenerator.cxx

@@ -245,8 +245,8 @@ bool cmGlobalKdevelopGenerator
     if (fileToOpen.empty())
     if (fileToOpen.empty())
     {
     {
        std::string ext = cmSystemTools::GetFilenameExtension(tmp);
        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;
        fileToOpen=tmp;
        }
        }