summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
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/cmMakefile.cxx
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/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index e156625..40a67a3 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -1222,7 +1222,7 @@ void cmMakefile::AddCustomCommandOldStyle(
// Each output must get its own copy of this rule.
cmsys::RegularExpression sourceFiles(
- "\\.(C|M|c|c\\+\\+|cc|cpp|cxx|mpp|cu|m|mm|"
+ "\\.(C|M|c|c\\+\\+|cc|cpp|cxx|mpp|ixx|cppm|cu|m|mm|"
"rc|def|r|odl|idl|hpj|bat|h|h\\+\\+|"
"hm|hpp|hxx|in|txx|inl)$");