Hi,
I try to package a built shared library on windows. In the CMAKE file for where the dll and import lib is created I have

install(TARGETS ${target}
        RUNTIME DESTINATION bin
        LIBRARY DESTINATION lib
        ARCHIVE DESTINATION lib
        COMPONENT rr_core
)

When executing the install target in my projet, the dll goes to the bin folder and the lib goes to the lib folder. That is all good.

But when running CPACK only the .lib file is packaged, and not the DLL. Why??

Thanks,
Totte





--

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

Reply via email to