diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-03-13 17:24:16 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-03-13 17:24:16 (GMT) |
commit | 84d15bf00e5986464ebd668c7250c965e2973e14 (patch) | |
tree | dc75798369e78ada78239fcc92b99fe3c0ff797e /Source/cmMakefile.cxx | |
parent | d9cda2870181cf25a4234d1d8d99a0c8cc457927 (diff) | |
download | CMake-84d15bf00e5986464ebd668c7250c965e2973e14.zip CMake-84d15bf00e5986464ebd668c7250c965e2973e14.tar.gz CMake-84d15bf00e5986464ebd668c7250c965e2973e14.tar.bz2 |
Synchronize extension lists
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 4a9ef30..b5f7ffb 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -38,22 +38,30 @@ cmMakefile::cmMakefile() // Setup the default include complaint regular expression (match nothing). m_ComplainFileRegularExpression = "^$"; // Source and header file extensions that we can handle - m_SourceFileExtensions.push_back( "cxx" ); - m_SourceFileExtensions.push_back( "cpp" ); - m_SourceFileExtensions.push_back( "c" ); + m_SourceFileExtensions.push_back( "C" ); m_SourceFileExtensions.push_back( "M" ); + m_SourceFileExtensions.push_back( "c" ); + m_SourceFileExtensions.push_back( "c++" ); + m_SourceFileExtensions.push_back( "cc" ); + m_SourceFileExtensions.push_back( "cpp" ); + m_SourceFileExtensions.push_back( "cxx" ); m_SourceFileExtensions.push_back( "m" ); m_SourceFileExtensions.push_back( "mm" ); m_HeaderFileExtensions.push_back( "h" ); - m_HeaderFileExtensions.push_back( "txx" ); + m_HeaderFileExtensions.push_back( "h++" ); + m_HeaderFileExtensions.push_back( "hm" ); + m_HeaderFileExtensions.push_back( "hpp" ); + m_HeaderFileExtensions.push_back( "hxx" ); m_HeaderFileExtensions.push_back( "in" ); + m_HeaderFileExtensions.push_back( "txx" ); m_DefineFlags = " "; m_LocalGenerator = 0; this->AddSourceGroup("", "^.*$"); - this->AddSourceGroup("Source Files", "\\.(cpp|C|c|cxx|rc|def|r|odl|idl|hpj|bat)$"); - this->AddSourceGroup("Header Files", "\\.(h|hh|hpp|hxx|hm|inl)$"); + this->AddSourceGroup("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)$"); this->AddDefaultDefinitions(); } |