[CMake] Cpack and cmake's install commands with absolute destination value

Slaykovsky Vladimir vslaykovsky at gmail.com
Fri Aug 8 05:25:52 EDT 2008


Added my files as attachements.

On Fri, Aug 8, 2008 at 12:10 PM, Slaykovsky Vladimir
<vslaykovsky at gmail.com>wrote:

> I have a problem creating packages with cpack when using install commands
> with absolute detination value:
>
> install(TARGETS MyExecutable RUNTIME DESTINATION
> c:/work/cmake/cpack_build/install/bin)
>
> In this case cpack cannot find my target and doesn't include it in package.
> If I change detination to relative value like this:
>
> install(TARGETS MyExecutable RUNTIME DESTINATION bin)
>
> then MyExecutable is included to package. Please, help, how can I use
> absolute install paths with cpack? I've searched for apropriate CPACK_*
> configuration option, but found nothing
>
> Thank you.
> -- Vladimir
>



-- 
Regards,
Vladimir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080808/4f85256a/attachment.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CMakeLists.txt
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080808/4f85256a/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: test.cpp
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080808/4f85256a/attachment.asc>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: project.zip
Type: application/zip
Size: 1920 bytes
Desc: not available
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080808/4f85256a/attachment.zip>


More information about the CMake mailing list