Blender Git Commit Log

Git Commits -> Revision 1f33d57

Revision 1f33d57 by Stefan Gartner (master)
January 3, 2010, 20:35 (GMT)
OS X Makefiles:
* added some new variables (mostly the same as with scons):
- USE_COCOA: use Cocoa for ghost (defaults to true)
- MACOSX_ARCHITECTURE: can be ppc, ppc64, i386, x86_64. By default this is the host architecture
(ppc for PowerPC Macs, i386 for Intel Macs). In theory this allows to cross compile blender for
a different architecture, though cross compilation only works on Intel Macs, because makesdna
and makesrna are built for the target architecture.
For a 64 bit build, set MACOSX_ARCHITECTURE to x86_64 (Intel) or ppc64 (PowerPC).
- MACOSX_MIN_VERS: minimum OS X version to run blender on (10.4 for 32 bit builds, 10.5 for 64 bit builds)
- MACOSX_DEPLOYMENT_TARGET: needed by the linker to create an Application targeted for a specific
OS version (defaults to 10.4 for 32 bit builds, 10.5 for 64 bit builds)
- MACOSX_SDK: path to a specific SDK. currently not used
- USE_QTKIT: use QTKit instead of QuickTime (defaults to true for 64 bit builds, as using QTKit
is mandatory in that case))
* use the same compiler flags as scons
* default compiler now is gcc-4.0 when building for 10.4 and gcc-4.2 when building for 10.5
* extract $(LCGDIR)/release/python_$(MACOSX_ARCHITECTURE).zip to Application bundle. This might
break building on 10.4, to fix that, rename $(LCGDIR)/release/python.zip

When compiling blender, only MACOSX_ARCHITECTURE might be of interest, as it allows doing 64 bit
builds (or 32 bit PowerPC builds on Intel). All other variables are then set to reasonable defaults.
For current users of the Makefile system, this commit shouldn't change much.

Commit Details:

Full Hash: 1f33d574c2d18f0037f5e168dbd1a54d23dad6d7
SVN Revision: 25692
Parent Commit: c6e4079
Lines Changed: +147, -30

11 Modified Paths:

/intern/ghost/intern/Makefile (+1, -1) (Diff)
/source/blender/makesdna/intern/Makefile (+4, -0) (Diff)
/source/blender/makesrna/intern/Makefile (+4, -0) (Diff)
/source/blender/quicktime/apple/Makefile (+6, -0) (Diff)
/source/blender/quicktime/apple/quicktime_export.c (+2, -0) (Diff)
/source/blender/quicktime/apple/quicktime_import.c (+2, -0) (Diff)
/source/darwin/Makefile (+4, -2) (Diff)
/source/Makefile (+8, -8) (Diff)
/source/nan_compile.mk (+56, -12) (Diff)
/source/nan_definitions.mk (+48, -5) (Diff)
/source/nan_link.mk (+12, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021