summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-08-01 14:48:40 (GMT)
committerBrad King <brad.king@kitware.com>2006-08-01 14:48:40 (GMT)
commit8dda3a2f6e4c9832642f2f6c102897cfca0670b3 (patch)
treed2b6378f7f6090372995825d7515f0302c9bad10 /Source/cmMakefile.cxx
parentc75fb61f3c460305ec6fd7e207681fb2239beaad (diff)
downloadCMake-8dda3a2f6e4c9832642f2f6c102897cfca0670b3.zip
CMake-8dda3a2f6e4c9832642f2f6c102897cfca0670b3.tar.gz
CMake-8dda3a2f6e4c9832642f2f6c102897cfca0670b3.tar.bz2
ENH: Adding .hh file as a C++ header file extension. Remove duplicate code from implementation of unique object name computation for VS generators. This addresses bug#3565.
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 871a81b..c45f789 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -63,6 +63,7 @@ cmMakefile::cmMakefile()
this->SourceFileExtensions.push_back( "mm" );
this->HeaderFileExtensions.push_back( "h" );
+ this->HeaderFileExtensions.push_back( "hh" );
this->HeaderFileExtensions.push_back( "h++" );
this->HeaderFileExtensions.push_back( "hm" );
this->HeaderFileExtensions.push_back( "hpp" );
@@ -79,7 +80,7 @@ cmMakefile::cmMakefile()
("Source Files",
"\\.(C|M|c|c\\+\\+|cc|cpp|cxx|m|mm|rc|def|r|odl|idl|hpj|bat)$");
this->AddSourceGroup("Header Files",
- "\\.(h|h\\+\\+|hm|hpp|hxx|in|txx|inl)$");
+ "\\.(h|hh|h\\+\\+|hm|hpp|hxx|in|txx|inl)$");
this->AddSourceGroup("CMake Rules", "\\.rule$");
this->AddSourceGroup("Resources", "\\.plist$");
#endif