[PATCH] Improve #pragma comment(lib) support

Reid Kleckner rnk at google.com
Fri May 24 04:55:45 PDT 2013


It's probably better to move this to TargetInfo.
 Specifically WinX86_32/64TargetCodeGenInfo know about /defaultlib already.


On Thu, May 23, 2013 at 4:44 PM, Aaron Ballman <aaron at aaronballman.com>wrote:

> 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 --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130524/da83da7e/attachment.html>


More information about the cfe-commits mailing list