[Cmake] Using CMake to generate SWIG wrapper libraries

Andy Cedilnik andy.cedilnik at kitware.com
Mon Aug 16 08:40:58 EDT 2004


Hi Raghavendra,

CMake 2.0 has support for SWIG. You use SWIG_ADD_MODULE and
SWIG_LINK_LIBRARIES. Described in Mastering CMake pages 42 - 44.

			Andy

On Mon, 2004-08-16 at 07:19, Raghavendra Chandrashekara wrote:
> Are there any examples showing how to use CMake to generate SWIG wrapper 
> libraries? I can't find any documentation at www.cmake.org which shows 
> how to do this. At the moment I am using ADD_CUSTOM_TARGET but I don't 
> know if this is proper way to do it.




More information about the Cmake mailing list