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
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to