/[no]inline

Syntax:

/inline[:keyword], /noinline, or /Ob2

The /inline or /Ob2 option allows users to have some control over inlining. Inlining procedures can greatly improve the run-time performance for certain applications.

When requesting procedure inlining (or interprocedural optimizations), compile all source files together into a single object file whenever possible. With very large applications, compile as many related source files together as possible.

If you compile sources without linking (see the /compile_only option), be sure to also specify the /object[:filename] option to create a single object file.

In the visual development environment, specify the Inlining type in the Optimizations Compiler Option Category. The /inline options are:

/inline:none or /noinline /inline:manual
/inline:size /inline:speed or /Ob2
inline:all

The /inline options:

For more detailed information on this option, see Controlling the Inlining of Procedures.