changes in darwin config.py to reflect Nathan changes & better defaults.
authorJean-Luc Peurière <jlp@nerim.net>
Sat, 11 Mar 2006 13:33:52 +0000 (13:33 +0000)
committerJean-Luc Peurière <jlp@nerim.net>
Sat, 11 Mar 2006 13:33:52 +0000 (13:33 +0000)
Important note : for gcc3 linking you may have to remove -fexceptions
from LINKFLAGS but this is mandatory for gcc4

config/darwin-config.py

index 5274de7af23b010f13b9d8f560739b53b93ec362..b2b0b74435c286bb2b3313deb3f36b9a53700b9d 100644 (file)
@@ -61,7 +61,7 @@ BF_FTGL_INC = '${BF_FTGL}/include'
 BF_FTGL_LIB = 'extern_ftgl'
 
 WITH_BF_GAMEENGINE='true'
-WITH_BF_PLAYER='false'
+WITH_BF_PLAYER='true'
 
 WITH_BF_ODE = 'false'
 BF_ODE = LCGDIR + '/ode'
@@ -100,7 +100,7 @@ BF_FREETYPE_INC = '${BF_FREETYPE}/include ${BF_FREETYPE}/include/freetype2'
 BF_FREETYPE_LIB = 'freetype'
 BF_FREETYPE_LIBPATH = '${BF_FREETYPE}/lib'
 
-WITH_BF_QUICKTIME = 'false' # -DWITH_QUICKTIME
+WITH_BF_QUICKTIME = 'true' # -DWITH_QUICKTIME
 
 # Mesa Libs should go here if your using them as well....
 WITH_BF_STATICOPENGL = 'true'
@@ -116,9 +116,10 @@ BF_OPENGL_LINKFLAGS = '-framework OpenGL'
 
 CFLAGS = ['-pipe','-fPIC','-funsigned-char','-fno-strict-aliasing']
 
-CPPFLAGS = ['-DXP_UNIX']
+CPPFLAGS = []
 CCFLAGS = ['-pipe','-fPIC','-funsigned-char','-fno-strict-aliasing']
-PLATFORM_LINKFLAGS = '-framework CoreServices -framework Foundation -framework IOKit -framework AppKit -framework Carbon -framework AGL -framework AudioUnit -framework AudioToolbox -framework CoreAudio -framework QuickTime'
+CXXFLAGS = ['-pipe','-fPIC','-funsigned-char','-fno-strict-aliasing']
+PLATFORM_LINKFLAGS = '-fexceptions -framework CoreServices -framework Foundation -framework IOKit -framework AppKit -framework Carbon -framework AGL -framework AudioUnit -framework AudioToolbox -framework CoreAudio -framework QuickTime'
 REL_CFLAGS = ['-O2']
 REL_CCFLAGS = ['-O2']
 ##BF_DEPEND = 'true'