summaryrefslogtreecommitdiffstats
path: root/Source/cmSourceFile.h
diff options
context:
space:
mode:
authorAndrew Gilewsky <andrew.gilewsky@gmail.com>2021-03-21 15:10:57 (GMT)
committerBrad King <brad.king@kitware.com>2021-03-22 15:58:44 (GMT)
commit7c4c4f1406f1b4a3d84248e87ce1786ee7a5d0f5 (patch)
treeb82e9a3f622b25101cc7360ec6aaebe79eda1953 /Source/cmSourceFile.h
parent8f0cbaf2e03d3809f55ad674dbe5543636c0ebc6 (diff)
downloadCMake-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.h2
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)$"