[CMake] Python installation files on linux

Hendrik Sattler post at hendrik-sattler.de
Wed Feb 27 15:52:36 EST 2008


Am Mittwoch 27 Februar 2008 schrieb Cedric Pinson:
> Hi,
> i am new to cmake and i would like to use it to make a python module,
> but i don't know how to get the version of python installed on the
> system, how to select where the files should be installed considering
> the version of python ...
> I come from autotools and i would like to switch, cmake is very useful
> to write rules/conditional compilation... but for installing files like
> python module it seems not easy. Maybe i missed something.
>
> Any clue to do what i want ?

I have the same problem with a SWIG module. The same also applies to e.g. Perl 
stuff.
OTOH, since you mentioned it: how would you solve this with autotools?

HS



More information about the CMake mailing list