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:
authorNathan Letwory <nathan@letworyinteractive.com>2004-04-08 14:40:12 +0400
committerNathan Letwory <nathan@letworyinteractive.com>2004-04-08 14:40:12 +0400
commitfc080d30d6134becd0792e2236e33ff98e5b7e9b (patch)
tree560e1fb046c15eb821dcd46bf3b39538e609db2c /SConstruct
parent9cabf31ebc7a27173b527aaad80bfe6140fe3d5b (diff)
Added preliminary support for GamePlayer building with SCons. GPG_ghost and GPC_common are now being built. These will be built by setting BUILD_BLENDER_PLAYER to true in config.opts. BUILD_GAMEENGINE must be set to true, too.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct51
1 files changed, 28 insertions, 23 deletions
diff --git a/SConstruct b/SConstruct
index 77c8c351370..0be6f0fffb6 100644
--- a/SConstruct
+++ b/SConstruct
@@ -893,30 +893,35 @@ if user_options_dict['USE_INTERNATIONAL'] == 1:
link_env.Append (LIBS=user_options_dict['FREETYPE_LIBRARY'])
if user_options_dict['USE_QUICKTIME'] == 1:
link_env.Append (LIBS=['blender_quicktime'])
+
if user_options_dict['BUILD_GAMEENGINE'] == 1:
- link_env.Append (LIBS=['KX_blenderhook',
- 'KX_converter',
- 'PHY_Dummy',
- 'PHY_Physics',
- 'KX_ketsji',
- 'SCA_GameLogic',
- 'RAS_rasterizer',
- 'RAS_OpenGLRasterizer',
- 'blender_expressions',
- 'SG_SceneGraph',
- 'blender_MT',
- 'KX_blenderhook',
- 'KX_network',
- 'blender_kernel',
- 'NG_network',
- 'NG_loopbacknetwork'])
- if user_options_dict['USE_PHYSICS'] == 'solid':
- link_env.Append (LIBS=['PHY_Sumo', 'PHY_Physics', 'blender_MT', 'extern_solid', 'extern_qhull'])
- else:
- link_env.Append (LIBS=['PHY_Ode',
- 'PHY_Physics'])
- link_env.Append (LIBS=user_options_dict['ODE_LIBRARY'])
- link_env.Append (LIBPATH=user_options_dict['ODE_LIBPATH'])
+ link_env.Append (LIBS=['KX_blenderhook',
+ 'KX_converter',
+ 'PHY_Dummy',
+ 'PHY_Physics',
+ 'KX_ketsji',
+ 'SCA_GameLogic',
+ 'RAS_rasterizer',
+ 'RAS_OpenGLRasterizer',
+ 'blender_expressions',
+ 'SG_SceneGraph',
+ 'blender_MT',
+ 'KX_blenderhook',
+ 'KX_network',
+ 'blender_kernel',
+ 'NG_network',
+ 'NG_loopbacknetwork'])
+ if user_options_dict['BUILD_BLENDER_PLAYER'] == 1:
+ link_env.Append (LIBS=['GPG_ghost'])
+ link_env.Append (LIBS=['GPC_common'])
+ if user_options_dict['USE_PHYSICS'] == 'solid':
+ link_env.Append (LIBS=['PHY_Sumo', 'PHY_Physics', 'blender_MT', 'extern_solid', 'extern_qhull'])
+ else:
+ link_env.Append (LIBS=['PHY_Ode',
+ 'PHY_Physics'])
+ link_env.Append (LIBS=user_options_dict['ODE_LIBRARY'])
+ link_env.Append (LIBPATH=user_options_dict['ODE_LIBPATH'])
+
link_env.Append (LIBS=['blender_python'])
link_env.Append (LIBS=user_options_dict['PYTHON_LIBRARY'])
link_env.Append (LIBPATH=user_options_dict['PYTHON_LIBPATH'])