Fortran: Add .F extension to Source Files group

While at it, improve source layout of the regex string literal.

Fixes: #8768
This commit is contained in:
Johnny Jazeix 2019-10-23 14:47:45 +02:00 committed by Brad King
parent 44b5f037e6
commit 39fbbd6fea

View File

@ -154,9 +154,8 @@ private:
#define CM_HEADER_REGEX "\\.(h|hh|h\\+\\+|hm|hpp|hxx|in|txx|inl)$"
#define CM_SOURCE_REGEX \
"\\.(C|M|c|c\\+\\+|cc|cpp|cxx|cu|f|f90|for|fpp|ftn|m|mm|rc|def|r|odl|idl|" \
"hpj" \
"|bat)$"
"\\.(C|F|M|c|c\\+\\+|cc|cpp|cxx|cu|f|f90|for|fpp|ftn|m|mm|" \
"rc|def|r|odl|idl|hpj|bat)$"
#define CM_PCH_REGEX "cmake_pch\\.(h|hxx)$"