diff options
author | Andrew Gilewsky <andrew.gilewsky@gmail.com> | 2021-03-21 15:10:57 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-03-22 15:58:44 (GMT) |
commit | 7c4c4f1406f1b4a3d84248e87ce1786ee7a5d0f5 (patch) | |
tree | b82e9a3f622b25101cc7360ec6aaebe79eda1953 /Source/cmSourceFile.h | |
parent | 8f0cbaf2e03d3809f55ad674dbe5543636c0ebc6 (diff) | |
download | CMake-7c4c4f1406f1b4a3d84248e87ce1786ee7a5d0f5.zip CMake-7c4c4f1406f1b4a3d84248e87ce1786ee7a5d0f5.tar.gz CMake-7c4c4f1406f1b4a3d84248e87ce1786ee7a5d0f5.tar.bz2 |
Treat '.ixx' and '.cppm' files as C++ sources
These extensions are used by convention for C++ modules and interface
units with MSVC.
Diffstat (limited to 'Source/cmSourceFile.h')
-rw-r--r-- | Source/cmSourceFile.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmSourceFile.h b/Source/cmSourceFile.h index 76a5ded..32ed687 100644 --- a/Source/cmSourceFile.h +++ b/Source/cmSourceFile.h @@ -175,7 +175,7 @@ private: #define CM_HEADER_REGEX "\\.(h|hh|h\\+\\+|hm|hpp|hxx|in|txx|inl)$" #define CM_SOURCE_REGEX \ - "\\.(C|F|M|c|c\\+\\+|cc|cpp|mpp|cxx|cu|f|f90|for|fpp|ftn|m|mm|" \ + "\\.(C|F|M|c|c\\+\\+|cc|cpp|mpp|cxx|ixx|cppm|cu|f|f90|for|fpp|ftn|m|mm|" \ "rc|def|r|odl|idl|hpj|bat)$" #define CM_PCH_REGEX "cmake_pch(_[^.]+)?\\.(h|hxx)$" |