[CMake] Windows NSIS installer shared libraries

Richard Shaw hobbes1069 at gmail.com
Fri Jun 14 08:00:57 EDT 2013


Ack, something about this list confuses gmail and it always goes to the
poster instead of the list apologies.

On Fri, Jun 14, 2013 at 1:07 AM, J Decker <d3ck0r at gmail.com> wrote:

> I think something like
> if( NOT UNIX )
> install( TARGETS x RUNTIME DESTINATION bin
>    LIBRARY DESTINATION bin
>    ARCHIVE DESTINATION lib
> )
> else()
> if( NOT UNIX )


I don't think you need the if(NOT UNIX) stuff... IIRC windows runtime dll's
(not the import libraries) are treated as runtimes, so they would
automatically go in with the binaries, so the OP just needs to make sure a
runtime destination is set.

Thanks,
Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130614/39b7e18e/attachment-0001.htm>


More information about the CMake mailing list