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:
authorErwin Coumans <blender@erwincoumans.com>2005-10-28 08:48:01 +0400
committerErwin Coumans <blender@erwincoumans.com>2005-10-28 08:48:01 +0400
commit0dde486eeae6c563059bfab408f1ed5bd239ad85 (patch)
treeb0ba58a335781e9c65972d2bffb4da493286ca9f /SConstruct
parentb729020276d6d710f336aec116e0ba8a75d97466 (diff)
applied patch [ #3260 ] Enable compile bullet and sumo with scons
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct11
1 files changed, 6 insertions, 5 deletions
diff --git a/SConstruct b/SConstruct
index e4bee7c6f87..a00dae683e7 100644
--- a/SConstruct
+++ b/SConstruct
@@ -357,9 +357,9 @@ elif sys.platform == 'win32':
use_openal = 'true'
use_fmod = 'false'
use_quicktime = 'true'
+ use_bullet = 'true'
use_sumo = 'true'
use_ode = 'false'
- use_bullet = 'true'
use_buildinfo = 'true'
use_fluidsim = 'true'
build_blender_dynamic = 'true'
@@ -371,7 +371,8 @@ elif sys.platform == 'win32':
extra_flags = ['/EHsc', '/J', '/W3', '/Gd', '/MT']
cxxflags = []
defines = ['WIN32', '_CONSOLE']
- defines += ['WITH_QUICKTIME']
+ if use_quicktime == 'true':
+ defines += ['WITH_QUICKTIME']
defines += ['_LIB', 'USE_OPENAL']
defines += ['FTGL_LIBRARY_STATIC']
warn_flags = []
@@ -439,9 +440,9 @@ elif sys.platform == 'win32':
ode_libpath = ['#../lib/windows/ode/lib']
ode_include = ['#../lib/windows/ode/include']
# Python lib name
- python_include = ['#../lib/windows/python/include/python2.3']
+ python_include = ['#../lib/windows/python/include/python2.4']
python_libpath = ['#../lib/windows/python/lib']
- python_lib = ['python23']
+ python_lib = ['python24']
python_linkflags = []
# International stuff
ftgl_lib = []
@@ -850,7 +851,7 @@ else:
config.write ("BUILD_GAMEENGINE = %r\n"%(use_gameengine))
if use_ode == 'true':
config.write ("USE_PHYSICS = 'ode'\n")
- elif use_bullet == 'true':
+ elif (use_bullet == 'true') and (use_sumo == 'false'):
config.write("USE_PHYSICS = 'bullet'\n")
else:
config.write ("USE_PHYSICS = 'solid'\n")