Fix regular expressions

This commit is contained in:
Andy Cedilnik 2003-03-13 12:48:52 -05:00
parent 84d15bf00e
commit ce23446000
1 changed files with 2 additions and 2 deletions

View File

@ -60,8 +60,8 @@ cmMakefile::cmMakefile()
m_LocalGenerator = 0; m_LocalGenerator = 0;
this->AddSourceGroup("", "^.*$"); this->AddSourceGroup("", "^.*$");
this->AddSourceGroup("Source Files", this->AddSourceGroup("Source Files",
"\\.(C|M|c|c++|cc|cpp|cxx|m|mm|rc|def|r|odl|idl|hpj|bat)$"); "\\.(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->AddSourceGroup("Header Files", "\\.(h|h\\+\\+|hm|hpp|hxx|in|txx|inl)$");
this->AddDefaultDefinitions(); this->AddDefaultDefinitions();
} }