Share via


Mixing Debug and Release Builds in an Application

Overview

When building large Microsoft Foundation Class (MFC) applications, the debug information can take up a lot of disk space. To reduce the size of the application, there are several methods by which you can remove the debugging information from some of the modules in the project and/or from the MFC libraries themselves. Moreover, the development environment supports per-file build rules, which can greatly reduce the amount of debug information that is generated for an application.

The following are among the methods available to reduce the amount of debugging information included in a project: