1
0
forked from 0ad/0ad

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:
historic_bruno 2012-02-04 01:20:33 +00:00
parent 374242bcfc
commit 1fe6d4780a

View File

@ -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