Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Luc Peurière <jlp@nerim.net>2005-08-13 01:41:22 +0400
committerJean-Luc Peurière <jlp@nerim.net>2005-08-13 01:41:22 +0400
commit0006f8ad1467a00e37687996cca912cbf6a63db8 (patch)
tree0f43a7faa4a954eefe6caf5ff2227cc9d07fe78b /SConstruct
parent0d35e38938c7f9fb8b38c3423b7b7ac8ac7411f1 (diff)
update to xcode
added a workaround for scons
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct10
1 files changed, 9 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index 06d49f1000c..103f9e47167 100644
--- a/SConstruct
+++ b/SConstruct
@@ -11,6 +11,7 @@ bs_globals.targets = COMMAND_LINE_TARGETS
print 'targets = ',bs_globals.targets
print 'arguments = ', bs_globals.arguments
+print os.getcwd()
appname = ''
playername = ''
@@ -25,7 +26,10 @@ if sys.platform != 'win32':
config_guess = os.popen("SRCHOME=source/ source/tools/guess/guessconfig").read()[:-1]
else:
config_guess = "windows"
-
+
+#the above check is not enough for darwin. we way want to build for darwin/X11
+#more, now even for Os X, we need to check and take in account arch
+#(PPC, x86, universal binaries)
if sys.platform == 'darwin':
appname = 'blender'
playername = 'blenderplayer'
@@ -42,8 +46,12 @@ bs_config.parseOpts()
# don't want to put scons-generated .sconsign files in the source tree, but in
# the root_build_dir, we have to create that dir ourselves before SCons tries
# to access/create the file containing .sconsign data.
+# we need to create the top level hierarchy too (at least on Os X)
if os.path.isdir (bs_globals.root_build_dir) == 0:
os.makedirs (bs_globals.root_build_dir)
+ os.makedirs (bs_globals.root_build_dir+os.sep+'extern')
+ os.makedirs (bs_globals.root_build_dir+os.sep+'intern')
+ os.makedirs (bs_globals.root_build_dir+os.sep+'source')
# Blender version.
version='2.37a'