summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalKdevelopGenerator.cxx
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-08-21 17:47:29 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-08-21 17:47:29 (GMT)
commit326e1144398d9aa48e4a46088c5fe535c22bd582 (patch)
tree508f3559a7419ecb0ddca17492db30bc6e20a9d7 /Source/cmGlobalKdevelopGenerator.cxx
parentd0833b7bc328c5e2117f10d1cad93b9a40643389 (diff)
downloadCMake-326e1144398d9aa48e4a46088c5fe535c22bd582.zip
CMake-326e1144398d9aa48e4a46088c5fe535c22bd582.tar.gz
CMake-326e1144398d9aa48e4a46088c5fe535c22bd582.tar.bz2
ENH: also check for .hpp and .cxx files
Alex
Diffstat (limited to 'Source/cmGlobalKdevelopGenerator.cxx')
-rw-r--r--Source/cmGlobalKdevelopGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalKdevelopGenerator.cxx b/Source/cmGlobalKdevelopGenerator.cxx
index 69826e0..aa01d8e 100644
--- a/Source/cmGlobalKdevelopGenerator.cxx
+++ b/Source/cmGlobalKdevelopGenerator.cxx
@@ -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;
}