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:
authorMichel Selten <michel@mselten.demon.nl>2004-02-24 23:03:27 +0300
committerMichel Selten <michel@mselten.demon.nl>2004-02-24 23:03:27 +0300
commit8023fb42828fe6d1b69413d5a31aec3a9f3e4201 (patch)
treeb7ac585eea4583b5ebd9b1927665af04b5c2814a /source/blender/src/SConscript
parent6379637089f7534c10e9d8f1b43a487575b9a6e8 (diff)
SCons updates
* Added the options to build (configurable via config.opts): - blender dynamic (default enabled), - blender static (default disabled). Not working because of a linking order problem. The /usr/lib/libGL.a and /usr/lib/libGLU.a flags need to be appended at the end of the link command, not directly after the linker. Mailed the SCons mail list for a possible solution. - blender player (default disabled). Not implemented yet anyway. - blender plugin (default disabled). Not implemented yet anyway. * Added the following variables to the config.opts: - OPENGL_STATIC. This flag is only needed when building blender static. - USE_BUILDINFO (true/false). Display build information in the splash screen. When enabled, it will always rebuild source/creator/buildinfo.c, so for compilation speed reasons, it is not adviced to enable this all the time. I had to make some adjustments specifically for the windows build (winblender.res) file. This file is only compiled when building the dynamic blender. I hope this is correct.
Diffstat (limited to 'source/blender/src/SConscript')
-rw-r--r--source/blender/src/SConscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/src/SConscript b/source/blender/src/SConscript
index 91c75559f2c..4e434655059 100644
--- a/source/blender/src/SConscript
+++ b/source/blender/src/SConscript
@@ -143,6 +143,9 @@ if user_options_dict['USE_INTERNATIONAL'] == 1:
src_env.Append (CPPDEFINES = 'INTERNATIONAL')
src_env.Append (CPPDEFINES = 'FTGL_STATIC_LIBRARY')
+if user_options_dict['USE_BUILDINFO'] == 1:
+ src_env.Append (CPPDEFINES = 'NAN_BUILDINFO')
+
src_env.Append (CPPPATH=extra_includes)
src_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/blender_blendersrc', source=source_files)