[CMake] cmake and distutils
Christophe Alexandre
christophe.alexandre at lip6.fr
Wed Apr 23 04:38:54 EDT 2008
Ok for the Module part, but what about the compilation CFLAGS and link
flags used by distutils ?
Must I copy them in my CMakeList.txt ?
Christophe.
Le 22 avr. 08 à 21:14, Alexander Neundorf a écrit :
> On Tuesday 22 April 2008, Christophe Alexandre wrote:
>> Hi all,
>>
>> I'm working on a C++ project exporting its API with in Python.
>> Is there an "easy..." way to compile and generate the Python Modules
>> with cmake.
>> I find the the distutils and cmake hard to use together : not the
>> same
>> build management, the installation process,...
>> Wouldn't it be better to compile the Python Modules only with cmake ?
>>
>> If anyone has some experience on the subject, I'll be happy to hear
>> from it.
>
> Compiling python modules with cmake is no bigger problem.
> You just have to build the target as "MODULE" library and link
> against the
> appropriate libs.
> Do you need to do more ?
>
> Alex
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
More information about the CMake
mailing list