[CMake] [Q] Searching mailing list archive about
swig-python-osx-bundle?
Sean McBride
sean at rogue-research.com
Sat Sep 8 16:45:28 EDT 2007
On 9/8/07 9:40 AM, Nicholas Yue said:
> I'd like to search the mailing list archive of information on how to
>construct a cmake file to build a swig python extension (as a bundle) on OS
>X?
>
> My current build (of the swig python extension) on Linux is linking and
>running fine but on OS X, the same cmake configuration file builds it as a
>shared library but my understanding is that it needs to be build as a
>bundle. I have an old Makefile that does that but I am hoping to migrate my
>builds to use only CMake as it gives me much more flexibility and much less
>maintanance.
I've never actually tried, but this should be a good start:
IF(APPLE)
SET(EXECUTABLE_FLAG MACOSX_BUNDLE)
ENDIF(APPLE)
--
____________________________________________________________
Sean McBride, B. Eng sean at rogue-research.com
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
More information about the CMake
mailing list