xcode generator + kdesupport
William A. Hoffman
billlist at nycap.rr.com
Fri May 26 20:07:14 CEST 2006
At 12:42 PM 5/26/2006, Benjamin Reed wrote:
>I'm trying to build the qt4 dbus bindings as universal binaries. I
>have to use the Xcode generator, it appears, or else CMake doesnt' do
>anything with the archtecture environment variables.
You can build universal binaries we makefiles.
Change the cache entry in the CMakeCache.txt:
CMAKE_OSX_ARCHITECTURES:STRING=ppc;i386
The makefiles will build univerals binaries.
>It looks like we're either making some assumptions in our CMakeFiles,
>or Xcode generation is broken, because it mostly works, but fails when
>trying to run in-place binaries:
This is because configuration directories are not being looked at.
Xcode like visual studio puts files in Debug/foo Release/foo based
on the configuration you are building. CMAKE_CFG_INTDIR is a cmake
variable that will have that value, and will be . for regular makefiles,
so it is safe to use as part of a path.
More information about the Kde-buildsystem
mailing list