>From the help for the INSTALL command:    (cmake --help-command INSTALL)

    For DLL platforms the DLL part of a shared library is treated as a
    runtime target and the corresponding import library is treated as an
    archive target.  All Windows-based systems including Cygwin are DLL
    platforms.

The dll part of the shared library will be installed in the RUNTIME
DESTINATION. The lib part will be installed in the ARCHIVE DESTINATION.


On 11/16/07, Stephen Collyer <[EMAIL PROTECTED]> wrote:
>
> I have a trivial library that I'm building with a SHARED attribute
> and I'm installing it into a lib directory with a cmake list file thus:
>
> ADD_LIBRARY(Test SHARED Test.cpp)
>
> INSTALL(TARGETS Test LIBRARY DESTINATION lib)
>
> I've managed to build this into a .dll under Win32 finally, but
> the PACKAGE target, run from VS, only packages up the .lib file,
> not the .dll.
>
> Anyone know what I've done wrong ?
>
> --
> Regards
>
> Steve Collyer
> Netspinner Ltd
> _______________________________________________
> CMake mailing list
> [email protected]
> http://www.cmake.org/mailman/listinfo/cmake
>
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to