[CMake] CPack - Mac OS X Universal dmg

2010-06-20 Thread Nick Bolton
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

Re: [CMake] CPack - Mac OS X Universal dmg

2010-06-20 Thread Dave Partyka
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

[CMake] Non-build output

2010-06-20 Thread Clark Gaebel
How would I go about placing a text file in the same directory as a target's output? For example, let's say I have a target called foo, which creates an executable. foo has a config file called foo.conf that should always go in the same directory. At the moment, it resides in the src/ directory

Re: [CMake] CPack - Mac OS X Universal dmg

2010-06-20 Thread Michael Wild
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

Re: [CMake] Non-build output

2010-06-20 Thread Stefan Buschmann
Am 20.06.2010 19:14, schrieb Clark Gaebel: How would I go about placing a text file in the same directory as a target's output? For example, let's say I have a target called foo, which creates an executable. foo has a config file called foo.conf that should always go in the same directory. At

Re: [CMake] Non-build output

2010-06-20 Thread Eric Noulard
2010/6/20 Clark Gaebel cg.wowus...@gmail.com: How would I go about placing a text file in the same directory as a target's output? For example, let's say I have a target called foo, which creates an executable. foo has a config file called foo.conf that should always go in the same

Re: [CMake] Non-build output

2010-06-20 Thread Clark Gaebel
I'm doing exclusively out-of-source builds, so this is perfect. Thank you! Regards, -- Clark On 06/20/10 16:31, Eric Noulard wrote: 2010/6/20 Clark Gaebel cg.wowus...@gmail.com: How would I go about placing a text file in the same directory as a target's output? For example, let's say

Re: [CMake] Various problems deploying a python module

2010-06-20 Thread Michael Hertling
On 06/19/2010 12:31 PM, Janosch Peters wrote: On 2010-06-18 08:29:25 +0200, Michael Hertling said: On 06/17/2010 04:23 PM, Janosch Peters wrote: I have two python frameworks on my mac: Python2.5 which comes with OS X, and python2.6 from macports. If I just use FIND_PACKAGE(PythonInterp) and