[CMake] File permissions

Radu Serban radu at llnl.gov
Fri Jan 18 14:09:18 EST 2008


I generate a script (shell on *nix, *.bat on windows) using FILE(WRITE which 
I then install using INSTALL(PROGRAMS so that the permissions are set 
properly. However, I'd like to first test it from within CMake using 
EXECUTE_PROCESS but that obviously fails since the script does not have 
execute permission at this stage.
Any suggestions?
Thanks,
--Radu


More information about the CMake mailing list