Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BlenderPhi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
raas
BlenderPhi
Commits
c0dcbacd
Commit
c0dcbacd
authored
May 19, 2007
by
Jean-Luc Peurière
Browse files
Options
Downloads
Patches
Plain Diff
post release update of the scons build system for os x powerpc
assume os x 10.4 as defaut
parent
4d47e539
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
SConstruct
+5
-0
5 additions, 0 deletions
SConstruct
config/darwin-config.py
+30
-10
30 additions, 10 deletions
config/darwin-config.py
source/gameengine/Rasterizer/SConscript
+5
-4
5 additions, 4 deletions
source/gameengine/Rasterizer/SConscript
with
40 additions
and
14 deletions
SConstruct
+
5
−
0
View file @
c0dcbacd
...
...
@@ -72,6 +72,11 @@ if platform=='win32':
if
not
use_color
==
'
1
'
:
B
.
bc
.
disable
()
#on defaut white Os X terminal, some colors are totally unlegible
if
platform
==
'
darwin
'
:
B
.
bc
.
OKGREEN
=
'
\033
[34m
'
B
.
bc
.
WARNING
=
'
\033
[36m
'
# arguments
print
B
.
bc
.
HEADER
+
'
Command-line arguments
'
+
B
.
bc
.
ENDC
B
.
arguments
=
btools
.
validate_arguments
(
ARGUMENTS
,
B
.
bc
)
...
...
This diff is collapsed.
Click to expand it.
config/darwin-config.py
+
30
−
10
View file @
c0dcbacd
LCGDIR
=
'
#../lib/darwin-6.1-powerpc
'
LIBDIR
=
'
${LCGDIR}
'
WITH_BF_VERSE
=
'
false
'
BF_VERSE_INCLUDE
=
"
#extern/verse/dist
"
# enable ffmpeg support
WITH_BF_FFMPEG
=
'
true
'
# -DWITH_FFMPEG
BF_FFMPEG
=
LIBDIR
+
'
/ffmpeg
'
BF_FFMPEG_INC
=
'
${BF_FFMPEG}/include
'
BF_FFMPEG_LIBPATH
=
'
${BF_FFMPEG}/lib
'
BF_FFMPEG_LIB
=
'
avformat.a avcodec.a avutil.a
'
WITH_BF_VERSE
=
'
false
'
BF_VERSE
=
"
#extern/verse/dist
"
BF_VERSE_LIBPATH
=
"
${BF_BUILDDIR}/extern/verse/dist
"
BF_VERSE_INCLUDE
=
BF_VERSE
BF_VERSE_LIBS
=
"
libverse
"
# python.org libs install in /library
BF_PYTHON_VERSION
=
'
2.3
'
if
BF_PYTHON_VERSION
==
'
2.3
'
:
BF_PYTHON
=
'
/System/Library/Frameworks/Python.framework/Versions/
'
BF_PYTHON_VERSION
=
'
2.5
'
else
:
BF_PYTHON
=
'
/Library/Frameworks/Python.framework/Versions/
'
BF_PYTHON_INC
=
'
${BF_PYTHON}${BF_PYTHON_VERSION}/include/python${BF_PYTHON_VERSION}
'
BF_PYTHON_BINARY
=
'
${BF_PYTHON}${BF_PYTHON_VERSION}/bin/python${BF_PYTHON_VERSION}
'
BF_PYTHON_LIB
=
''
...
...
@@ -13,7 +28,12 @@ BF_PYTHON_LIBPATH = '${BF_PYTHON}${BF_PYTHON_VERSION}/lib/python${BF_PYTHON_VERS
BF_PYTHON_LINKFLAGS
=
'
-u __dummy -u _PyMac_Error -framework System -framework Python
'
WITH_BF_OPENAL
=
'
true
'
BF_OPENAL
=
LIBDIR
+
'
/openal
'
#different lib must be used following version of gcc
# for gcc 3.3
#BF_OPENAL = LIBDIR + '/openal'
# for gcc 3.4
BF_OPENAL
=
'
#../lib/darwin-8.0.0-powerpc/openal
'
BF_OPENAL_INC
=
'
${BF_OPENAL}/include
'
BF_OPENAL_LIB
=
'
openal
'
BF_OPENAL_LIBPATH
=
'
${BF_OPENAL}/lib
'
...
...
@@ -30,7 +50,7 @@ BF_FMOD = LIBDIR + '/fmod'
WITH_BF_OPENEXR
=
'
true
'
BF_OPENEXR
=
'
/usr/local
'
BF_OPENEXR_INC
=
'
${BF_OPENEXR}/include/OpenEXR
'
BF_OPENEXR_LIB
=
'
Iex Half IlmImf Imath
'
BF_OPENEXR_LIB
=
'
Iex Half IlmImf Imath
IlmThread
'
WITH_BF_JPEG
=
'
true
'
...
...
@@ -65,8 +85,8 @@ BF_FTGL = '#extern/bFTGL'
BF_FTGL_INC
=
'
${BF_FTGL}/include
'
BF_FTGL_LIB
=
'
extern_ftgl
'
WITH_BF_GAMEENGINE
=
'
fals
e
'
WITH_BF_PLAYER
=
'
fals
e
'
WITH_BF_GAMEENGINE
=
'
tru
e
'
WITH_BF_PLAYER
=
'
tru
e
'
WITH_BF_ODE
=
'
false
'
BF_ODE
=
LIBDIR
+
'
/ode
'
...
...
@@ -129,9 +149,9 @@ BF_OPENGL_LINKFLAGS = '-framework OpenGL'
CFLAGS
=
[
'
-pipe
'
,
'
-fPIC
'
,
'
-funsigned-char
'
,
'
-fno-strict-aliasing
'
]
CPPFLAGS
=
[]
CCFLAGS
=
[
'
-pipe
'
,
'
-fPIC
'
,
'
-funsigned-char
'
,
'
-fno-strict-aliasing
'
]
CXXFLAGS
=
[
'
-pipe
'
,
'
-fPIC
'
,
'
-funsigned-char
'
,
'
-fno-strict-aliasing
'
]
CPPFLAGS
=
[
'
-fpascal-strings
'
]
CCFLAGS
=
[
'
-pipe
'
,
'
-fPIC
'
,
'
-funsigned-char
'
,
'
-fno-strict-aliasing
'
,
'
-fpascal-strings
'
]
CXXFLAGS
=
[
'
-pipe
'
,
'
-fPIC
'
,
'
-funsigned-char
'
,
'
-fno-strict-aliasing
'
,
'
-fpascal-strings
'
]
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
'
]
...
...
This diff is collapsed.
Click to expand it.
source/gameengine/Rasterizer/SConscript
+
5
−
4
View file @
c0dcbacd
...
...
@@ -5,8 +5,9 @@ sources = env.Glob('*.cpp')
incs
=
'
. #source/kernel/gen_system #intern/string #intern/moto/include
'
cflags
=
[]
if
env
[
'
OURPLATFORM
'
]
==
'
win32-vc
'
:
cflags
=
[]
cflags
.
append
(
'
/Ox
'
)
env
.
BlenderLib
(
'
bf_rasterizer
'
,
sources
,
Split
(
incs
),
[],
libtype
=
[
'
game
'
,
'
player
'
],
priority
=
[
35
,
115
],
compileflags
=
cflags
)
else
:
env
.
BlenderLib
(
'
bf_rasterizer
'
,
sources
,
Split
(
incs
),
[],
libtype
=
[
'
game
'
,
'
player
'
],
priority
=
[
35
,
115
]
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment