[CMake] Same effect as g++ -bundle ?

digitalriptide digitalriptide at gmail.com
Mon Oct 15 20:06:00 EDT 2012


I need to create a Mach-o bundle format file. With g++, for example, I
can do the following

g++ -o helloWorld.bundle -bundle helloWorld.o

given some object file.

Is there some way to do this from cmake? I've looked at the
documentation for add_library but I can't seem to find anything.

Any hints or pointers are greatly appreciated. Cheers!


More information about the CMake mailing list