diff options
author | Brad King <brad.king@kitware.com> | 2003-03-14 15:54:53 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2003-03-14 15:54:53 (GMT) |
commit | 0b6ae58a0647c3cf496a1cc0236e036d3ac076b1 (patch) | |
tree | 28708b12b23fca796cf5a7be1c675fabd5019536 /Source/cmMakefile.cxx | |
parent | 0da06163973cb604e92e2eb25d6175d4daebbc6a (diff) | |
download | CMake-0b6ae58a0647c3cf496a1cc0236e036d3ac076b1.zip CMake-0b6ae58a0647c3cf496a1cc0236e036d3ac076b1.tar.gz CMake-0b6ae58a0647c3cf496a1cc0236e036d3ac076b1.tar.bz2 |
BUG: c extension must come before C.
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 737e945..4f3e3ba 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -38,9 +38,12 @@ cmMakefile::cmMakefile() // Setup the default include complaint regular expression (match nothing). m_ComplainFileRegularExpression = "^$"; // Source and header file extensions that we can handle + + // The "c" extension MUST precede the "C" extension. + 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" ); |