[CMake] CPack: Add PATH to .profile

Michele Dolfi dolfimeth at gmail.com
Fri Sep 27 13:32:46 EDT 2013


Hi,

Is it possible to create custom components in CPack to add
CMAKE_INSTALL_PREFIX/bin to the user ~/.profile?

I would like to have an additional entry in the GUI created with
PackageMaker that the user could select to patch the .profile.


Using install(SCRIPT ...) in CMake the patch my own .profile, not the one
of the user installing my app.


Thanks a lot,
Michele
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130927/f9c56284/attachment.htm>


More information about the CMake mailing list