[CMake] Python test scripts

Tyler Roscoe tyler at cryptio.net
Sun Oct 24 00:02:39 EDT 2010


On Sun, Oct 24, 2010 at 04:35:45AM +0200, Michael Hertling wrote:
> On 10/24/2010 01:26 AM, Bill Spotz wrote:
> >   #! ${PYTHON_EXECUTABLE}

Michael posted what I assume is a fantastic CMake solution :). Another
approach you might consider is to use:

    #!/usr/vin/env python

which works out of the box on many Linuxes/Unices.

tyler


More information about the CMake mailing list