[CMake] Python Extension
William A. Hoffman
billlist at nycap.rr.com
Wed Jan 4 16:37:37 EST 2006
At 04:36 PM 1/4/2006, Rich Holm wrote:
>Thanks for the help!
>
>Do I use ADD_LIBRARY() to build it in UNIX and Windows?
>I need to build a python extension that can also export
>some functions for other extensions to use.
>
>Cheers,
>Rich
You use ADD_LIBRARY with MODULE as the type. Note, on the Mac, you
can not link to a module like that. You have to create a shared
library and a module that uses that shared library.
-Bill
More information about the CMake
mailing list