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:
authorStephen Swaney <sswaney@centurytel.net>2005-03-22 10:45:20 +0300
committerStephen Swaney <sswaney@centurytel.net>2005-03-22 10:45:20 +0300
commitcda3383189c3e3b1603cd2f18a666ae717f49c7a (patch)
treee97d32d1bd77ff5a61ad65edf3b09ad88c8660ff
parent845ee1e4a13c8d72adf12f1cf33e05112f481a95 (diff)
add files for Daniel Dunbar's new CCGSUBSURFLIB work to SCons build.
This commit *only* adds the new files. Since this is an experimental feature, it is NOT enabled by default. At the moment, you can turn it on by editing the toplevel SConstruct file. NOTE: this is a hack. it will be done properly later! To enable this experimental feature, add the following line after the line that starts with 'extra_flags = [' extra_flags.append( '-DUSE_CCGSUBSURFLIB' )
-rw-r--r--source/blender/blenkernel/SConscript7
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/blenkernel/SConscript b/source/blender/blenkernel/SConscript
index d71dd38f7ad..159dc1db079 100644
--- a/source/blender/blenkernel/SConscript
+++ b/source/blender/blenkernel/SConscript
@@ -28,7 +28,9 @@ source_files = ['intern/constraint.c',
'intern/effect.c',
'intern/key.c',
'intern/object.c',
+ 'intern/CCGSubSurf.c',
'intern/subsurf.c',
+ 'intern/subsurf_ccg.c',
'intern/blender.c',
'intern/exotic.c',
'intern/lattice.c',
@@ -39,7 +41,7 @@ source_files = ['intern/constraint.c',
'intern/font.c',
'intern/library.c',
'intern/property.c',
- 'intern/softbody.c',
+ 'intern/softbody.c',
'intern/texture.c']
blenkernel_env.Append (CPPPATH = ['.',
@@ -57,6 +59,9 @@ blenkernel_env.Append (CPPPATH = ['.',
if user_options_dict['USE_INTERNATIONAL'] == 1:
blenkernel_env.Append (CPPDEFINES = 'WITH_FREETYPE2')
+#fixme: if user_options_dict['USE_CCGSUBSURFLIB'] == 1:
+# blenkernel_env.Append (CPPDEFINES = 'WITH_CCGSUBSURF')
+
blenkernel_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/blender_blenkernel', source=source_files)
SConscript(['bad_level_call_stubs/SConscript'])