[CMake] CMake and swig problem

William A. Hoffman billlist at nycap.rr.com
Fri Feb 24 09:30:36 EST 2006


At 09:06 AM 2/24/2006, Ian.Appru at ubs.com wrote:
>Thanks for your reply Brad,
>
>I did (eventually) spot this line in the SWIG_ADD_MODULE macro.
>
>As I mentioned in conversation with Bill - think the thread accidentally
>went private there - I have decided to use my own UseSWIG-Java module
>and just remove this line.
>
>This is because I would like to use all the cmake logic in this area
>rather than override the PREFIX property with values relevant to all the
>platforms I am using (solaris/linux/XP).
>
>Not sure it is the swig convention to generate unix libs with no 'lib'
>prefix since it is the target language which controls this platform
>specific requirement - java, python etc
Well, on some systems loadable modules are not libraries, and can
not even be linked to.  

Does the java stuff with the load not work without the lib prefix?
Or are you trying to link to the swig module for something else?

-Bill



More information about the CMake mailing list