Radu Serban wrote:
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,

You could test it by running the shell directly. execute_process will not execute a shell script anyway. So, you would need /bin/bash yourscript.sh or something like that.

-Bill
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to