> In the cmake documentation it says that you can pass compiler flags to
> SWIG by:
>
> SET_SOURCE_FILES_PROPERTIES( ${swig_generated_file_fullname}
> PROPERTIES COMPILE_FLAGS "-bla")
>
> Maybe that's where you can put in the flag to build a .dylib instead
> of an .so
In our case it should be:
SET_TARGET_PROPERTIES( ${SWIG_MODULE_hsi_REAL_NAME} PROPERTIES
COMPILE_FLAGS "-bundle" )
> > Does swig build an .so on windows or does it build a .dll?
>
> I suppose it's not an .so, but no dll either. I think on Windows they
> have a .pyd extension, but you'd have to ask Thomas to be sure, since
> he managed to get it to run on Windows.
On windows it is a dll with .pyd extension (even if hugin_base is a
static lib, as default on windows)
Thomas
--
You received this message because you are subscribed to the Google Groups
"Hugin and other free panoramic software" group.
A list of frequently asked questions is available at:
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at http://groups.google.com/group/hugin-ptx