次の方法で共有


/DEFAULTLIB   (Specify Default Library)

OverviewHow Do ILinker Options

Syntax

/DEFAULTLIB:library

This option adds one library to the list of libraries that LINK searches when resolving references. A library specified with /DEFAULTLIB is searched after libraries specified on the command line and before default libraries named in .OBJ files.

The Ignore All Default Libraries (/NODEFAULTLIB) option overrides /DEFAULTLIB:library. The Ignore Libraries (/NODEFAULTLIB:library) option overrides /DEFAULTLIB:library when the same library name is specified in both.