BUG: c extension must come before C.

This commit is contained in:
Brad King 2003-03-14 10:54:53 -05:00
parent 0da0616397
commit 0b6ae58a06
1 changed files with 5 additions and 2 deletions

View File

@ -38,9 +38,12 @@ cmMakefile::cmMakefile()
// Setup the default include complaint regular expression (match nothing). // Setup the default include complaint regular expression (match nothing).
m_ComplainFileRegularExpression = "^$"; m_ComplainFileRegularExpression = "^$";
// Source and header file extensions that we can handle // Source and header file extensions that we can handle
m_SourceFileExtensions.push_back( "C" );
m_SourceFileExtensions.push_back( "M" ); // The "c" extension MUST precede the "C" extension.
m_SourceFileExtensions.push_back( "c" ); 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( "cc" );
m_SourceFileExtensions.push_back( "cpp" ); m_SourceFileExtensions.push_back( "cpp" );