[CMake] Same effect as g++ -bundle ?
Michael Wild
themiwi at gmail.com
Tue Oct 16 04:00:01 EDT 2012
On 10/16/2012 02:06 AM, digitalriptide wrote:
> 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!
add_library(helloWorld helloWorld.m)
set_taget_properties(helloWorld PROPERTIES BUNDLE TRUE)
HTH
Michael
More information about the CMake
mailing list