summaryrefslogtreecommitdiffstats
path: root/Source/cmSourceFile.h
diff options
context:
space:
mode:
authorJohnny Jazeix <jazeix@gmail.com>2019-10-23 12:47:45 (GMT)
committerBrad King <brad.king@kitware.com>2019-10-23 13:20:25 (GMT)
commit39fbbd6feaec91bcb2d31ee01ec431d0791a2baf (patch)
tree6c3eab139a7021cefe03ab0452264bbdd1047a1a /Source/cmSourceFile.h
parent44b5f037e66e58cb4b5f9877b568bc40b9b576ca (diff)
downloadCMake-39fbbd6feaec91bcb2d31ee01ec431d0791a2baf.zip
CMake-39fbbd6feaec91bcb2d31ee01ec431d0791a2baf.tar.gz
CMake-39fbbd6feaec91bcb2d31ee01ec431d0791a2baf.tar.bz2
Fortran: Add .F extension to Source Files group
While at it, improve source layout of the regex string literal. Fixes: #8768
Diffstat (limited to 'Source/cmSourceFile.h')
-rw-r--r--Source/cmSourceFile.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmSourceFile.h b/Source/cmSourceFile.h
index 82a3625..19a0d29 100644
--- a/Source/cmSourceFile.h
+++ b/Source/cmSourceFile.h
@@ -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)$"