- Output type when module is a program

svn path=/trunk/; revision=40941
This commit is contained in:
Johannes Anderwald 2009-05-16 17:34:52 +00:00
parent c780a3c0d6
commit bed222599a

View file

@ -141,9 +141,14 @@ MsBuildBackend::_generate_sources ( const Module& module )
if (module_type == ".sys")
fprintf ( OUT, "TARGETTYPE=DRIVER\r\n" );
if (module_type == ".dll")
else if (module_type == ".dll")
{
fprintf ( OUT, "TARGETTYPE=LIBRARY\r\n" );
}
else if (module_type == ".exe")
fprintf ( OUT, "TARGETTYPE=PROGRAM\r\n" );
fprintf ( OUT, "\r\nMSC_WARNING_LEVEL=/W3 /WX\r\n\r\n" );
/* Disable deprecated function uage warnings */