Thursday, July 30, 2009

How to compile a c++ application in release mode using vc++?

Hi, I have an application with six static libs and a main executable application.


I had been doing a Debug mode compile these days...


How do I do a Release mode compile?


please tell me will that reduse my exe size?

How to compile a c++ application in release mode using vc++?
Assuming you are using VS 6.0, so to build your project in Release Build mode, simply proceed as follows:





1. From 'Build' menu, select 'Set Active Configuration..."


2. A small pop-up window will show up.


3. Select 'Release build" from that window, then press OK.





And "YES" it will reduce your exe file size greatly, since it will not include any debug information with the exe, which will results in reducing the overall exe file size.





Thanks.


No comments:

Post a Comment