mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
changed windres back to rc
fixed rc preprocessor defines in dsp file generation svn path=/trunk/; revision=18572
This commit is contained in:
parent
88be8ed34a
commit
0d333ca4de
2 changed files with 17 additions and 3 deletions
|
@ -250,7 +250,7 @@ MSVCBackend::_generate_dsp ( const Module& module )
|
|||
fprintf ( OUT, "# PROP Scc_LocalPath \"\"\r\n" );
|
||||
fprintf ( OUT, "CPP=cl.exe\r\n" );
|
||||
if ( !lib && !exe ) fprintf ( OUT, "MTL=midl.exe\r\n" );
|
||||
fprintf ( OUT, "RSC=windres.exe\r\n" );
|
||||
fprintf ( OUT, "RSC=rc.exe\r\n" );
|
||||
|
||||
int n = 0;
|
||||
|
||||
|
@ -481,6 +481,11 @@ MSVCBackend::_generate_dsp ( const Module& module )
|
|||
fprintf ( OUT, " /i \"%s\"", includes[i].c_str() );
|
||||
}
|
||||
}
|
||||
|
||||
for ( i = 0; i < defines.size(); i++ )
|
||||
{
|
||||
fprintf ( OUT, " /D \"%s\"", defines[i].c_str() );
|
||||
}
|
||||
fprintf ( OUT, " /d \"_DEBUG\"\r\n" );
|
||||
}
|
||||
else
|
||||
|
@ -498,6 +503,13 @@ MSVCBackend::_generate_dsp ( const Module& module )
|
|||
for ( i = 0; i < includes.size(); i++ )
|
||||
fprintf ( OUT, " /i \"%s\"", includes[i].c_str() );
|
||||
}
|
||||
|
||||
for ( i = 0; i < defines.size(); i++ )
|
||||
{
|
||||
fprintf ( OUT, " /D \"%s\"", defines[i].c_str() );
|
||||
}
|
||||
|
||||
|
||||
fprintf ( OUT, "/d \"NDEBUG\"\r\n" );
|
||||
}
|
||||
fprintf ( OUT, "BSC32=bscmake.exe\r\n" );
|
||||
|
|
|
@ -151,6 +151,7 @@ main ( int argc, char** argv )
|
|||
{
|
||||
printf ( "Generates project files for buildsystems\n\n" );
|
||||
printf ( " rbuild [switches] buildsystem\n" );
|
||||
printf ( " rbuild msvc\n" );
|
||||
printf ( "Switches:\n" );
|
||||
printf ( " -v Be verbose.\n" );
|
||||
printf ( " -c Clean as you go. Delete generated files as soon as they are not\n" );
|
||||
|
@ -165,7 +166,8 @@ main ( int argc, char** argv )
|
|||
printf ( "\n" );
|
||||
printf ( " buildsystem Target build system. Can be one of:\n" );
|
||||
printf ( " mingw MinGW\n" );
|
||||
printf ( " devcpp DevC++\n" );
|
||||
printf ( " devcpp DevC++\n\n" );
|
||||
printf ( " msvc Generates dsp files for MSVC" );
|
||||
return 1;
|
||||
}
|
||||
try
|
||||
|
|
Loading…
Reference in a new issue