mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Projucer: Use RelativePath for querying file extensions in Xcode exporter to correctly handle cross-platform paths
This commit is contained in:
parent
6195a5ab60
commit
1870e2d5fd
1 changed files with 1 additions and 1 deletions
|
|
@ -2834,7 +2834,7 @@ private:
|
|||
|
||||
static String getFileType (const String& filePath)
|
||||
{
|
||||
auto file = File::createFileWithoutCheckingPath (filePath);
|
||||
build_tools::RelativePath file (filePath, build_tools::RelativePath::unknown);
|
||||
|
||||
if (file.hasFileExtension (cppFileExtensions)) return "sourcecode.cpp.cpp";
|
||||
if (file.hasFileExtension (".mm")) return "sourcecode.cpp.objcpp";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue