[ros-diffs] [cwittich] 22960: -use /noentry flag when entrypoint is set to "0"

cwittich at svn.reactos.org cwittich at svn.reactos.org
Sun Jul 9 01:23:09 CEST 2006


Author: cwittich
Date: Sun Jul  9 03:23:08 2006
New Revision: 22960

URL: http://svn.reactos.org/svn/reactos?rev=22960&view=rev
Log:
-use /noentry flag when entrypoint is set to "0"

Modified:
    trunk/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp

Modified: trunk/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp?rev=22960&r1=22959&r2=22960&view=diff
==============================================================================
--- trunk/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp (original)
+++ trunk/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp Sun Jul  9 03:23:08 2006
@@ -371,6 +371,9 @@
 		{
 			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=\"" );




More information about the Ros-diffs mailing list