VC- Project Setting-Debug-Project Option Syntax Explanation
- Optimization - / O1 Minimization Space Minimize Space / Op [-] Improve Floating Sort Number Adhere Improve Floating-Pt ConsistenCy / O2 Maximum Speed Maximize Speed / OS Premium Code Space Favor Code Space / OA Assumption No Alias Assume No AliaSing / OT Preferred code speed Favor code SPEED / OB Inline expansion (default n = 0) inline expansion (default n = 0) / OW assumes cross function alias Assume cross-function aliasing / od disable optimization (default) Disable Optimizations (Default) / OX maximizes options. (/ OGITYB2 / GS) Maximum OPTS. (/ OGITYB1 / GS) / OG Enables Global Optimization Enable Global Optimization / OY [-] Enable Frame Pointer 省 省 Enable Frame Pointer Omiuses / Oi Enables Introduction Functions Enable Intrinsic Functions
- Code generation - / g3 is 80386 Optimization Optimize for 80386 / g4 Optimize for 80486 / GR [-] Enable C RTTI Enable C RTTI / G5 Optimize Optimize for Pentium / G6 for Pentium Pro to optimize Optium Pro For Pentium Pro / GX [-] Enables C Abnormal Processing (Same as / EHSC) ENABLE C EH (Same AS / EHSC) / EHS Enable Synchronization C Exception ENABLE SYNCHRONOUS C EH / GD Optimized Optimize for Windows DLL / GB optimized for mixture model (default) optimize for blended model (default) / EHa enable asynchronous C exception handling enable asynchronous C EH / Gd __cdecl calling convention is __cdecl calling convention / EHc extern "C" by default nothrow extern "C" defaults to nothrow / Gr __fastcall calling convention __fastcall calling convention / Gi [-] enable incremental compilation enable incremental compilation / Gz __stdcall calling convention __stdcall calling convention / Gm [-] enable minimal rebuild enable minimal rebuild / GA optimization optimize application for Windows For Windows Application / GF Enable Strings ENABLE STRING POOLING / Qifdiv [-] Enables Pentium FDIV Repair Enable Pentium FDIV FIX / GF Enable read-only string pool enable read-only string pooling / qi0f [-] Enable Pentium 0x0f Repair EN able Pentium 0x0f fix / Gy separated by the linker function separate functions for linker / GZ enable debug runtime checking, enable runtime debug checks / Gh enable the hook function call to enable hook function call / Ge forced stack checking force stack checking for all funcs for all functions / GS [NUM] Disable Stack Check Disable Stack Checkings Calls - Output File - / FA [File] Named List File Name Assembly Listing File / FO Named Object File Name Object File / FA [SC] Configuration Program Set List Configure Assembly LISTING / Fp Naming Prefaced File Name Precompiled Header File / FD [File] Named .pdb file name .pdb file / fr [file] Name source browser file Name Source Browser File / FE Named Optical file Name Executable file / fr [File Name EXECUTABLE FILE / FR [ File] Named extension. SBR file name extended .sbr file / fm [file] Name mapping file Name Map File
- Prerequisitator - / Fi Naming Force Contains File Name Forced Include File / C Do Not Don't Strip Comments / U Remove Predefined Macro Remove Predefined Macro / D {= | #} Defining Macro Define Macro / U Remove All predefined macro Remove All Predefined Macros / E Pretreatment Direction to Standard Output PreProcess To Stdout / i Add to include file Search path Add to include Search Path / EP Set pre-processed to standard output, do not bring line number preprocess to Stdout, No #Line / X ignore the "Standard Location" IGNORE "Standard Places" / P Prerequisites to File PreProcess To File-Language - / Zi Enable Debug Information Enable Debugging Information / ZL ignore. Obj in the default library name OMIT DEFAULT LIBRARY Name in .Obj / zi Enable debugging information "Edit and Continue" Enable Edit and Continue Debug INFO / ZG Generate Function Prototype Generate Function Prototypes / Z7 Enable Old Commissioning Information Enable Old-Style Debug Info / ZS Only Syntax Check Only / zd only zipper debugging information LINE NUMBER Debugging Info Only / VD {0 | 1} Disable / Enable VTORDISP Disable / Enable VTORDISP / ZP [N] Packaging Structure on N-byte Boundary Pack Structs on N-BYTE Boundary / VM Pointer Type Type of Pointers To Members / ZA Disable Extensions (Implies / OP) Disable Extensions (Implies / OP) / Nobool Disable "Bool" Keyword Disable "Bool" keyword / ze enabled extension (default) enable Extensions (DEF AULT)
- Miscellaneous - /?, / HELP Print this help message Print this help message / c Compile, no link Compile ONLY, NO LINK / W Set warning level (default n = 1) set warning level (default n = 1) / h Maximize External Name Length Max External Name Length / J Default Char Type is Unsigned Default Char Type IS UNSIGNED / NOLO Cancel Display Copyright Message Suppress Copyright Message / WX Whole Treat Warnings As Erroors / TC Compiles file to .c compile File as .c / yc [file] Create .PCH file create .pch file / tp Compiles the file to .cpp Compile file as .cpp / yd Put the debug information in each .Obj PUT Debug Info in Every .Obj / TC compiles all files into .c compile all files as .c / tp Compiles all files to .cpp compile all files as .cpp / yu [file] Use .PCH file USE.PCH File / V Settings String SET VERSION String / YX [file] Automatic .PCH file Automatic .pch / w Disables all warning Disable All Warnings / ZM maximum memory allocation (default%) Max memory alloc (% of default) - link - / MD with MSVCRT.LIB link Link with MSVCRT.LIB / MDD and MSVCRTD.LIB debug library links link with msvcrtd.lib debug lib / ml with libc.lib links link with libc.lib / mld with libcd.lib debug library links link with libcd.lib debug lib / MT and libcmt.lib link Link Wi TH LIBCMT.LIB / MTD and libcmtd.lib debug library link LINK WITH LIBCMTD.LIB Debug LIB / LD Creation .dll Create .dll / F Set Stack Size Set Stack Size / LDD Create .dll Debulus Create .dll Debug Libary / Link [LED Options and Library] [Linker Options and Libraries]