mirror of
https://github.com/reactos/reactos.git
synced 2025-04-25 16:10:29 +00:00
- Output type when module is a program
svn path=/trunk/; revision=40941
This commit is contained in:
parent
c780a3c0d6
commit
bed222599a
1 changed files with 6 additions and 1 deletions
|
@ -141,9 +141,14 @@ MsBuildBackend::_generate_sources ( const Module& module )
|
||||||
|
|
||||||
if (module_type == ".sys")
|
if (module_type == ".sys")
|
||||||
fprintf ( OUT, "TARGETTYPE=DRIVER\r\n" );
|
fprintf ( OUT, "TARGETTYPE=DRIVER\r\n" );
|
||||||
if (module_type == ".dll")
|
else if (module_type == ".dll")
|
||||||
|
{
|
||||||
fprintf ( OUT, "TARGETTYPE=LIBRARY\r\n" );
|
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" );
|
fprintf ( OUT, "\r\nMSC_WARNING_LEVEL=/W3 /WX\r\n\r\n" );
|
||||||
|
|
||||||
/* Disable deprecated function uage warnings */
|
/* Disable deprecated function uage warnings */
|
||||||
|
|
Loading…
Reference in a new issue