diff options
author | Brad King <brad.king@kitware.com> | 2021-09-29 13:55:41 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2021-09-29 13:56:02 (GMT) |
commit | a0742049860485dc5b0f2b1b6b81d6a1ff172073 (patch) | |
tree | f1441de2778ecc30b24d56d3945692defd1789d8 /Source | |
parent | 487b0115745731ac8edf3abf5908a25ce4b222e8 (diff) | |
parent | 16ea0e57f7ff51ef1d1b64eb270a7762e0c67726 (diff) | |
download | CMake-a0742049860485dc5b0f2b1b6b81d6a1ff172073.zip CMake-a0742049860485dc5b0f2b1b6b81d6a1ff172073.tar.gz CMake-a0742049860485dc5b0f2b1b6b81d6a1ff172073.tar.bz2 |
Merge topic 'xcode-generation-support-inl-files'
16ea0e57f7 Xcode: Treat .inl files as C++ header files
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6563
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index c3d60b0..d61d373 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/Source/cmGlobalXCodeGenerator.cxx @@ -1097,7 +1097,7 @@ std::string GetSourcecodeValueFromFileExtension( } else if (ext == "h") { sourcecode += ".c.h"; } else if (ext == "hxx" || ext == "hpp" || ext == "txx" || ext == "pch" || - ext == "hh") { + ext == "hh" || ext == "inl") { sourcecode += ".cpp.h"; } else if (ext == "png" || ext == "gif" || ext == "jpg") { keepLastKnownFileType = true; |