[CMake] CPack not packaging DLL, only the import library.

Dixon, Shane Shane.Dixon at atmel.com
Fri Nov 13 17:04:21 EST 2009


Make sure that you're including the "RUNTIME DESTINATION" variable set on your install command.  In windows, the .dll is considered a runtime object just like the .exe.  If you're only setting "LIBRARY DESTINATION", then you'll only be installing the .lib file.  


--
Shane Dixon
Linux Engineer
Atmel Corporation 


-----Original Message-----
From: cmake-bounces at cmake.org [mailto:cmake-bounces at cmake.org] On Behalf Of Michael Jackson
Sent: Friday, November 13, 2009 2:39 PM
To: cmake Mailing List
Subject: [CMake] CPack not packaging DLL, only the import library.

Another dumb friday question:

    I have the packaging mostly working except that when I generate a windows DLL project only the import library is packaged up, leaving the actual DLL library behind. What might be causing this?
_________________________________________________________
Mike Jackson                  mike.jackson at bluequartz.net
BlueQuartz Software                    www.bluequartz.net
Principal Software Engineer                  Dayton, Ohio

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


More information about the CMake mailing list