[CMake] how to set the executable flag on a file ?

Brad King brad.king at kitware.com
Tue Mar 28 10:08:03 EST 2006


Gaetan Lehmann wrote:
> In our project, with CONFIGURE_FILE() macro, we are configuring the 
> paths  in a script.
> How can we set the executable flag on this script, both for file in 
> build  tree and installed one ?

Currently you have to make sure the input file has the proper 
permissions to get it working in the build tree, which will then also 
get it working in the install tree.

-Brad


More information about the CMake mailing list