[CMake] make a python script executable

Andrea Crotti andrea.crotti.0 at gmail.com
Wed Feb 22 13:42:20 EST 2012


So now suppose I have a working installer (which is not the case yet),
and that the entry point of the whole program is a python script.

Is there a way to make the whole project launchable via double click on 
more platforms?

At the moment there is a run.bat in every project for this to run on 
Windows, and I guess
it's not so easy otherwise http://www.pyinstaller.org/ would not exist.

But since cmake can run the python script in a multi-platform way, maybe 
there is a way
to create an actual executable that does the job, right?


More information about the CMake mailing list