CREATE_PROJECT: Modify producesObjectFile to take .m and .mm into account.
This should be safe outside XCode, as only OSX/iOS-projects introduce such files to begin with.
This commit is contained in:
parent
7de2f25466
commit
e24737f142
1 changed files with 1 additions and 1 deletions
|
@ -1044,7 +1044,7 @@ bool producesObjectFile(const std::string &fileName) {
|
|||
std::string n, ext;
|
||||
splitFilename(fileName, n, ext);
|
||||
|
||||
if (ext == "cpp" || ext == "c" || ext == "asm")
|
||||
if (ext == "cpp" || ext == "c" || ext == "asm" || ext == "m" || ext == "mm")
|
||||
return true;
|
||||
else
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue