mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
filter out .mm files
This commit is contained in:
parent
2eeed7bbd6
commit
25241ed6e9
@ -947,6 +947,11 @@ should_include(const string &filename) const {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Ignore Objective-C files too.
|
||||
if (filename.length() > 3 && filename.substr(filename.length() - 3) == ".mm") {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Otherwise, no problem.
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user