mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-01 19:30:13 -06:00
PCH: Fix source group of per-architecture PCH headers
In commit f593b354da (PCH: Add support for multi architecture iOS
projects, 2020-04-02) we forgot to update our regex that assigns
PCH headers to the `Precompile Header File` source group to account
for the `_<arch>` suffix that can now appear on their name.
This commit is contained in:
@@ -159,7 +159,7 @@ private:
|
||||
"\\.(C|F|M|c|c\\+\\+|cc|cpp|cxx|cu|f|f90|for|fpp|ftn|m|mm|" \
|
||||
"rc|def|r|odl|idl|hpj|bat)$"
|
||||
|
||||
#define CM_PCH_REGEX "cmake_pch\\.(h|hxx)$"
|
||||
#define CM_PCH_REGEX "cmake_pch(_[^.]+)?\\.(h|hxx)$"
|
||||
|
||||
#define CM_RESOURCE_REGEX "\\.(pdf|plist|png|jpeg|jpg|storyboard|xcassets)$"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user