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
path: root/tools
diff options
context:
space:
mode:
authorStephen Swaney <sswaney@centurytel.net>2005-03-30 16:13:02 +0400
committerStephen Swaney <sswaney@centurytel.net>2005-03-30 16:13:02 +0400
commit9b6febecd3c14178f07e443acd0f86159962d002 (patch)
tree49132e4d7decb99ddc7a9827cb296a0b8efa0e22 /tools
parentaa41e1ddc32e07a6792e1e9240e276c3424cfc89 (diff)
Two scons changes:
1) fix evil use of internal scons interfaces that breaks latest scons version. 2) a hack to turn on new CCGSUBSURF stuff by adding -DUSE_CCGSUBSURFLIB to extra_flags. This is currently the default for all platforms except win32 (due solely to my ignorance of win32 compiler flags).
Diffstat (limited to 'tools')
-rw-r--r--tools/scons/bs/bs_config.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/tools/scons/bs/bs_config.py b/tools/scons/bs/bs_config.py
index 7413ee9ab7b..23b01f98775 100644
--- a/tools/scons/bs/bs_config.py
+++ b/tools/scons/bs/bs_config.py
@@ -2,7 +2,7 @@
import sys
import os
-import SCons.Script
+#import SCons.Script
import bs_globals
def checkPyVersion():
@@ -18,9 +18,9 @@ def parseOpts():
copyloc = ''
all_args = sys.argv[1:]
- parser = SCons.Script.OptParser()
- options, targets = parser.parse_args(all_args)
- if ('clean' in targets):
+# parser = SCons.Script.OptParser()
+# options, targets = parser.parse_args(all_args)
+ if ('clean' in bs_globals.targets):
bs_globals.enable_clean = 1
# User configurable options file. This can be controlled by the user by running
@@ -34,4 +34,5 @@ def parseOpts():
else:
bs_globals.docopy = 1;
bs_globals.copyto = copyloc
- \ No newline at end of file
+
+