cmake - Set permissions of the installation directory -
I would like to change the permissions on the installed directory (specified in CMAKE_INSTALL_PREFIX), but I do not know how to do it
For example, if I have CMAKE_INSTALL_PREFIX / softs / myappli /, then I am able to set the permission for all my files. 64 / GCC / 4.7.2 When I "install" my I would like to be able to set the permission for / softs / myappli to "700".
you use the and type the code to change permissions on the installed time. To wit. Smth: Put it on a install command / signature given below Can:
install ([[SCRIPT & lt; file & gt;] [code & lt; code & gt;]] [...])
execute_process (COMMAND / bin / chmod ARGS 0700 "$ {CMAKE_INSTALL_PREFIX}")
chmod Cmake or a string, and then up to
install .
Comments
Post a Comment