diff options
author | Brad King <brad.king@kitware.com> | 2023-03-09 16:37:12 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-03-09 19:36:01 (GMT) |
commit | 45d1925efc5ed19066d179ed15bfbcb6ae31ae9a (patch) | |
tree | 35e572920eb7fcf5305f28d056b231309740dfef /Source/cmMakefile.cxx | |
parent | 8c96d145c1f9b5431643403caad9264a5b9e1402 (diff) | |
download | CMake-45d1925efc5ed19066d179ed15bfbcb6ae31ae9a.zip CMake-45d1925efc5ed19066d179ed15bfbcb6ae31ae9a.tar.gz CMake-45d1925efc5ed19066d179ed15bfbcb6ae31ae9a.tar.bz2 |
Treat '.ccm', '.cxxm', and '.c++m' files as C++ sources
These extensions are used by convention for C++ module interface units
with Clang.
For now, do not add any tests using these extensions.
Very few compilers recognize them as C++ sources.
Tests can be added later as part of C++ modules support.
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 33843e2..3fcc7f7 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -1229,7 +1229,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|ixx|cppm|cu|m|mm|" + "\\.(C|M|c|c\\+\\+|cc|cpp|cxx|mpp|ixx|cppm|ccm|cxxm|c\\+\\+m|cu|m|mm|" "rc|def|r|odl|idl|hpj|bat|h|h\\+\\+|" "hm|hpp|hxx|in|txx|inl)$"); |