[CMake] static libs and more
Philip Lowman
philip at yhbt.com
Thu Jul 17 16:09:12 EDT 2008
...... Original Message .......
On Thu, 17 Jul 2008 22:10:11 +0400 "Yuri Timenkov"
<ytimenkov at parallels.com> wrote:
>On Thursday 17 July 2008 23:00:15 Alin M Elena wrote:
>The main problem AFAIK for VS is that static and dynamic libraries are
>indistinguishable by extension. They both have a .lib one. And you don't
know
>in advance is some library is static one or just import library for some
>dynamic one.
I would be quite frankly amazed if someone couldn't write a 10-line CMake
macro that can determine if a .LIB file is static or shared. I wonder if
simply keying on certain ASCII keywords in the .LIB file wouldn't be good
enough (this would need some testing though, unless someone can find a
detailed .LIB file specification).
--
Philip Lowman
More information about the CMake
mailing list