mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-07 22:59:56 -05:00
Merge topic 'xcode-icons'
e97fdf7d9a Xcode: Support new Icon Composer .icon resources
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11259
This commit is contained in:
@@ -1202,6 +1202,9 @@ std::string GetDirectoryValueFromFileExtension(std::string const& dirExt)
|
||||
if (ext == "xcassets"_s) {
|
||||
return "folder.assetcatalog";
|
||||
}
|
||||
if (ext == "icon"_s) {
|
||||
return "folder.iconcomposer.icon";
|
||||
}
|
||||
return "folder";
|
||||
}
|
||||
|
||||
@@ -1276,6 +1279,9 @@ std::string GetSourcecodeValueFromFileExtension(
|
||||
} else if (ext == "xcconfig"_s) {
|
||||
keepLastKnownFileType = true;
|
||||
sourcecode = "text.xcconfig";
|
||||
} else if (ext == "icon"_s) {
|
||||
keepLastKnownFileType = true;
|
||||
sourcecode = "folder.iconcomposer.icon";
|
||||
}
|
||||
// else
|
||||
// {
|
||||
|
||||
Reference in New Issue
Block a user