diff options
author | Amitha Perera <perera@cs.rpi.edu> | 2001-07-16 22:40:42 (GMT) |
---|---|---|
committer | Amitha Perera <perera@cs.rpi.edu> | 2001-07-16 22:40:42 (GMT) |
commit | e169953e923907706439c60033ce983729c2e404 (patch) | |
tree | f12edb22a3b64f621ea7d049312ec1a9102ee54e /Source/cmMakefile.cxx | |
parent | fdfe7a357e38f40d768e24412f7e49b7880c0fcc (diff) | |
download | CMake-e169953e923907706439c60033ce983729c2e404.zip CMake-e169953e923907706439c60033ce983729c2e404.tar.gz CMake-e169953e923907706439c60033ce983729c2e404.tar.bz2 |
ENH: Source and header file extensions are in variables in cmMakefile.
AUX_SOURCE_DIRECTORY will only add files that have a "source" extension.
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index f449610..9ead3e3 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -57,6 +57,15 @@ cmMakefile::cmMakefile() m_IncludeFileRegularExpression = "^.*$"; // 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( "txx" ); + m_SourceFileExtensions.push_back( "c" ); + m_SourceFileExtensions.push_back( "M" ); + m_SourceFileExtensions.push_back( "m" ); + + m_HeaderFileExtensions.push_back( "h" ); m_DefineFlags = " "; m_MakefileGenerator = 0; |