[CMake] CPack - Mac OS X Universal dmg

Dave Partyka dave.partyka at kitware.com
Sun Jun 20 13:02:56 EDT 2010


When configuring your build set *CMAKE_OSX_ARCHITECTURES * to both the
architectures you wish to build. For example 'i386;ppc'. This will produce
libraries/executables with both architectures embedded in them. You can
check this by just running the 'file' command on any of the
libraries/executables.

On Sun, Jun 20, 2010 at 10:08 AM, Nick Bolton <nick.bolton.uk at gmail.com>wrote:

> Hello,
>
> I would like to build a Mac OS X Universal dmg using cpack, but
> currently we're building an i386 - how might we build universal
> instead?
>
> Here's our CPack config:
>
> http://code.google.com/p/synergy-plus/source/browse/trunk/cmake/CMakeLists_cpack.txt
>
> Nick
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100620/7d596f33/attachment.htm>


More information about the CMake mailing list