[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: installing libs on Windows
From:       Alexander Neundorf <neundorf () kde ! org>
Date:       2007-07-24 2:25:42
Message-ID: 200707232225.42455.neundorf () kde ! org
[Download RAW message or body]

On Monday 23 July 2007 04:53, Andreas Pakulat wrote:

> > Then we can set LIB_INSTALL_DIR to bin/ on Windows, and introduce a new
> > STATLIB_INSTALL_DIR. If somebody forgets this second part, the only
> > problem will be that the lib file will end up in bin/ instead of lib, but
> > I think this is not a real problem.
>
> You're confused I think. I can't tell how msvc handles this but for
> mingw we have:
>
> .exe == executable program
> .dll == shared library
> .lib == import library for the corresponding dll, this is needed to link
> against the dll
> .a   == static library
>
> So We still need the 3-line version as dll+exe go into bin/ and
> static+import lib go into lib/

I didn't try it, but please tell me which problem you mean.
Have a look at the sources.
The example above should be equivalent to 
INSTALL(TARGETS kdecore
                            RUNTIME DESTINATION ${LIB_INSTALL_DIR}
                            LIBRARY DESTINATION ${LIB_INSTALL_DIR}
                            ARCHIVE DESTINATION ${STATLIB_INSTALL_DIR})

Bye
Alex
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic