[CMake] .bundles on Mac

James Bigler bigler at cs.utah.edu
Tue Jul 31 16:32:38 EDT 2007


Has anyone built a .bundle library on Mac (NOTE this is *not* a .bundle App). 
It's like a shared library, but it has the -single_module flag passed in and the 
extension of .bundle.  I tried to change the library's suffix with 
SET_TARGET_PROPERTIES, but that did weird things to the linker (I'm assuming 
that GCC got confused when I changed the output name).

So, what I think I need to do is build the regular shared library and then copy 
the resulting .dylib to a .bundle.

Is this what others have done?

Thanks,
James


More information about the CMake mailing list