开发者

How do I link a static library in a cpp source file?

There's a #pragma command to link in a library from the source file rather than fr开发者_运维知识库om the project settings. I just can't seem to remember it.

Can anyone here remind me?

Thanks


#pragma comment(lib, "library")

http://msdn.microsoft.com/en-us/library/7f0aews7(VS.80).aspx


You mean this thing #pragma comment(lib, "Library")

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜