共用方式為


SOURCELIBS (Windows Embedded CE 6.0)

1/5/2010

This macro definition specifies library (.lib) files to be linked with the module specified in TARGETNAME.

The default value is NULL.

When you specify the .lib files, you must specify the full path for each .lib file to be linked. Separate multiple .lib files with spaces.

SOURCELIBS= \
        $(_COMMONOAKROOT)\lib\$(_CPUINDPATH)\ddk_io.lib\
        $(_COMMONOAKROOT)\lib\$(_CPUINDPATH)\fulllibc.lib

This macro definition is typically only used when you are linking to a static library. A static library is a file that contains objects and their functions and data. It is linked to the module when the executable file is built. An export library exports some common functionality to modules or components which can use that functionality. To link to an export library instead, use the TARGETLIBS macro.

See Also

Concepts

Sources File
TARGETNAME
TARGETLIBS