开发者

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

开发者 https://www.devze.com 2022-12-22 08:44 出处:网络
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.

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

精彩评论

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

关注公众号