Compilation mode about VC

zhaozj2021-02-11  214

There are a lot of people who have a lot of people to compile the VC. And some people summarize the conclusion: the things made by VC are big and slow. In fact, this is really a VC. In fact, the VC did the project to include multiple sub-engineering documents. It is generally included in the engineering of AppWizard that includes two sub-projects: Win32 Debug Engineering and Win32Release Engineering. The default activation is the Win32 Debug Engineering, and the execution file compiled with this sub-project is generally more than 1m or more, and some even more than 2m. Many people think that this is the final document, see such a big file, so it has made things that have made the VC, but it is very far. In fact, the execution file is just for debugging. When you really issue, you need to switch to Release mode to recompile. The switching method is selected in the Build menu. Will come out, a dialog box, select Win32 Release mode in the box, and then recompile. This will be able to have more release directories in your working directory, and your available EXE is also in this directory. Under normal Release mode, a dynamically connected program <50K, static connection program <400K. With such a program, it will not say that VC is too big.

转载请注明原文地址:https://www.9cbs.com/read-3888.html

New Post(0)