When configuring your build set <span class="Apple-style-span" style="font-family: monospace; font-size: medium; white-space: pre; "><i>CMAKE_OSX_ARCHITECTURES </i></span> 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.<br>
<br><div class="gmail_quote">On Sun, Jun 20, 2010 at 10:08 AM, Nick Bolton <span dir="ltr"><<a href="http://nick.bolton.uk">nick.bolton.uk</a>@<a href="http://gmail.com">gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello,<br>
<br>
I would like to build a Mac OS X Universal dmg using cpack, but<br>
currently we're building an i386 - how might we build universal<br>
instead?<br>
<br>
Here's our CPack config:<br>
<a href="http://code.google.com/p/synergy-plus/source/browse/trunk/cmake/CMakeLists_cpack.txt" target="_blank">http://code.google.com/p/synergy-plus/source/browse/trunk/cmake/CMakeLists_cpack.txt</a><br>
<br>
Nick<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</blockquote></div><br>