[CMake] CPack and alternative install locations

Daniel Stonier d.stonier at gmail.com
Sat Jan 9 05:17:33 EST 2010


How does one cpack a deb into a toolchain's location?

With cmake_install_prefix I can get it to compile and install into the
correct place easily for both native builds (/usr/local) and cross-builds
(/usr/arm-unknown-linux-gnueabi/usr/local).

However, cpack ignores these settings and also seems to ignore any of the
cpack settings...putting everything into /usr.

The variables that dont seem to do anything:

CPACK_PACKAGE_INSTALL_DIRECTORY
CPACK_INSTALL_PREFIX
CPACK_SET_DESTDIR

Is there a 'correct' approach to enabling this?

Regards
Daniel Stonier

-- 
Phone : +82-10-5400-3296 (010-5400-3296)
HomePage: http://snorriheim.dnsdojo.com/
Yujin Robot: http://www.yujinrobot.com/
Projects: http://snorriheim.dnsdojo.com/redmine/projects
Embedded Control Libraries: http://snorriheim.dnsdojo.com/redmine/wiki/ecl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100109/a588dbae/attachment.htm>


More information about the CMake mailing list