[CMake] CMake Python support

Philip Lowman philip at yhbt.com
Thu Aug 27 00:47:49 EDT 2009


On Wed, Aug 26, 2009 at 5:32 PM, Matt McCormick <matt at mmmccormick.com>wrote:

> Andreas Pakulat <apaku at ...> writes:
> > On 19.08.09 08:34:26, Philip Lowman wrote:
> > > Speaking of the existing FindPython* scripts they do not support v3.0
> yet.
> > > Is there a need to maintain support for picking 2.x if two versions of
> > > python are installed?
> >
> > As Py2 and Py3 are basically incompatible IMHO A separate FindPython3
> would
> > be better than letting the module try to "guess" py2 vs. py3 if both are
> > installed. The project using Python should have decide on wether it works
> > with Py3 or not.
> >
>
> Python 2.X are also incompatible with each other sometimes, and a user can
> have
> multiple 2.X and 3.X installed.  IMHO, having different modules for every
> version is not the write way to go.  Just make it a configuration variable
> in
> FindPythonLibs.cmake


I agree with either approach, but don't have the time to work on the
modules. :(

-- 
Philip Lowman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090827/c1aa4791/attachment-0001.htm>


More information about the CMake mailing list