Dave,
On 20 June 2010 18:02, Dave Partyka wrote:
> 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 runni
This is OK for the easy case, where the source code doesn't require special
defines to be set depending on the architecture. Some projects define symbols,
such as FOO_PPC or FOO_X86 on the command line, instead of doing the detection
in-source using e.g. __ppc__ or __x86_64__, respectively. In
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
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
_