[PATCH] Improve #pragma comment(lib) support

Aaron Ballman aaron at aaronballman.com
Thu May 23 13:44:02 PDT 2013


One of the things comment(lib) does in MSVC is automatically suffix
the argument with ".lib" if needs be.  This patch implements the same
logic, which allows us to properly link libraries such as ones
provided by the MSDN examples
(http://msdn.microsoft.com/en-us/library/7f0aews7(v=vs.80).aspx).

~Aaron
-------------- next part --------------
A non-text attachment was scrubbed...
Name: comment_lib.patch
Type: application/octet-stream
Size: 2043 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130523/bcb40d88/attachment.obj>


More information about the cfe-commits mailing list