Includes Objective-C++ (*.mm) files in Premake generated projects. Premake and GCC handle the rest. Fixes #1148.
This was SVN commit r11013.
This commit is contained in:
parent
374242bcfc
commit
1fe6d4780a
@ -346,7 +346,7 @@ function project_add_contents(source_root, rel_source_dirs, rel_include_dirs, ex
|
||||
|
||||
for i,v in pairs(rel_source_dirs) do
|
||||
local prefix = source_root..v.."/"
|
||||
files { prefix.."*.cpp", prefix.."*.h", prefix.."*.inl", prefix.."*.js", prefix.."*.asm" }
|
||||
files { prefix.."*.cpp", prefix.."*.h", prefix.."*.inl", prefix.."*.js", prefix.."*.asm", prefix.."*.mm" }
|
||||
end
|
||||
|
||||
-- Put the project-specific PCH directory at the start of the
|
||||
|
Loading…
Reference in New Issue
Block a user