Reputation: 341
There's a #pragma command to link in a library from the source file rather than from the project settings. I just can't seem to remember it.
Can anyone here remind me?
Thanks
Upvotes: 2
Views: 309
Reputation: 4797
You mean this thing
#pragma comment(lib, "Library")
Upvotes: 2
Reputation: 34148
#pragma comment(lib, "library")
http://msdn.microsoft.com/en-us/library/7f0aews7(VS.80).aspx
Upvotes: 6