- Fix detection of file type while generating vcxproj files

svn path=/trunk/; revision=47523
This commit is contained in:
Giannis Adamopoulos 2010-06-02 18:14:53 +00:00
parent 4f491e282e
commit 40ff1fac4b

View file

@ -94,7 +94,7 @@ VCXProjMaker::_generate_item_group (std::vector<std::string> files)
for( i = 0; i<files.size(); i++)
{
std::string extension = GetExtension(files[i]);
std::string extension = ToLower(GetExtension(files[i]));
if( extension == ".c" || extension == ".cpp")
fprintf ( OUT, "\t\t<ClCompile Include=\"%s\" />\r\n", files[i].c_str());