Author: janderwald
Date: Sun Aug 20 23:19:21 2006
New Revision: 23620
URL:
http://svn.reactos.org/svn/reactos?rev=23620&view=rev
Log:
* implement debugger settings for Control Panel Applets for MSVC2005
* in order to use, start the vcproj save sln and restart && enjoy
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/…
==============================================================================
--- trunk/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp (original)
+++ trunk/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp Sun Aug 20 23:19:21 2006
@@ -242,6 +242,14 @@
fprintf ( OUT, "\t\t\tConfigurationType=\"%d\"\r\n", exe ? 1 : dll
? 2 : lib ? 4 : -1 );
fprintf ( OUT, "\t\t\tCharacterSet=\"2\">\r\n" );
+
+ if ( module_type == ".cpl" && configuration.VSProjectVersion ==
"8.00")
+ {
+ fprintf ( OUT, "\t\t\t<DebugSettings\r\n" );
+ fprintf ( OUT, "\t\t\t\tCommand=\"rundll32.exe\"\r\n" );
+ fprintf ( OUT, "\t\t\t\tCommandArguments=\" shell32, Control_RunDLL
$(TargetPath),@\"\r\n" );
+ fprintf ( OUT, "\t\t\t/>" );
+ }
fprintf ( OUT, "\t\t\t<Tool\r\n" );
fprintf ( OUT, "\t\t\t\tName=\"VCCLCompilerTool\"\r\n" );