[Cmake] Using CMake to generate SWIG wrapper libraries

Raghavendra Chandrashekara rc3 at doc.ic.ac.uk
Mon Aug 16 08:56:32 EDT 2004


Cool! Thanks very much for showing an example.

Raghavendra

William A. Hoffman wrote:

>I just updated the FAQ with an example:
>http://www.cmake.org/Wiki/CMake_FAQ#How_do_I_use_CMake_to_generate_SWIG_wrapper_libraries.3F
>
>
>At 08:40 AM 8/16/2004, Andy Cedilnik wrote:
>  
>
>>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.
>>>      
>>>
>>_______________________________________________
>>Cmake mailing list
>>Cmake at www.cmake.org
>>http://www.cmake.org/mailman/listinfo/cmake 
>>    
>>
>
>  
>



More information about the Cmake mailing list