diff options
author | Stephen Swaney <sswaney@centurytel.net> | 2005-03-22 10:45:20 +0300 |
---|---|---|
committer | Stephen Swaney <sswaney@centurytel.net> | 2005-03-22 10:45:20 +0300 |
commit | cda3383189c3e3b1603cd2f18a666ae717f49c7a (patch) | |
tree | e97d32d1bd77ff5a61ad65edf3b09ad88c8660ff /source/blender/blenkernel/SConscript | |
parent | 845ee1e4a13c8d72adf12f1cf33e05112f481a95 (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' )
Diffstat (limited to 'source/blender/blenkernel/SConscript')
-rw-r--r-- | source/blender/blenkernel/SConscript | 7 |
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']) |