mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 13:35:47 +00:00
-use /noentry flag when entrypoint is set to "0"
svn path=/trunk/; revision=22960
This commit is contained in:
parent
dd81cc1343
commit
79a5eee6f5
1 changed files with 3 additions and 0 deletions
|
@ -371,6 +371,9 @@ MSVCBackend::_generate_vcproj ( const Module& module )
|
|||
{
|
||||
fprintf ( OUT, "\t\t\t<Tool\r\n" );
|
||||
fprintf ( OUT, "\t\t\t\tName=\"VCLinkerTool\"\r\n" );
|
||||
if (module.GetEntryPoint(false) == "0")
|
||||
fprintf ( OUT, "AdditionalOptions=\"/noentry\"" );
|
||||
|
||||
if (module.importLibrary != NULL)
|
||||
fprintf ( OUT, "\t\t\t\tModuleDefinitionFile=\"%s\"\r\n", module.importLibrary->definition.c_str());
|
||||
fprintf ( OUT, "\t\t\t\tAdditionalDependencies=\"" );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue