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 /Modules/CMakeCXXCompiler.cmake.in | |
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 'Modules/CMakeCXXCompiler.cmake.in')
-rw-r--r-- | Modules/CMakeCXXCompiler.cmake.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeCXXCompiler.cmake.in b/Modules/CMakeCXXCompiler.cmake.in index 45acfe7..d0ce77a 100644 --- a/Modules/CMakeCXXCompiler.cmake.in +++ b/Modules/CMakeCXXCompiler.cmake.in @@ -44,7 +44,7 @@ if(CMAKE_COMPILER_IS_MINGW) set(MINGW 1) endif() set(CMAKE_CXX_COMPILER_ID_RUN 1) -set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;mpp;CPP) +set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;mpp;CPP;ixx;cppm) set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC) foreach (lang C OBJC OBJCXX) |