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' )
This commit is contained in:
Stephen Swaney 2005-03-22 07:45:20 +00:00
parent 845ee1e4a1
commit cda3383189

@ -28,7 +28,9 @@ source_files = ['intern/constraint.c',
'intern/effect.c', 'intern/effect.c',
'intern/key.c', 'intern/key.c',
'intern/object.c', 'intern/object.c',
'intern/CCGSubSurf.c',
'intern/subsurf.c', 'intern/subsurf.c',
'intern/subsurf_ccg.c',
'intern/blender.c', 'intern/blender.c',
'intern/exotic.c', 'intern/exotic.c',
'intern/lattice.c', 'intern/lattice.c',
@ -39,7 +41,7 @@ source_files = ['intern/constraint.c',
'intern/font.c', 'intern/font.c',
'intern/library.c', 'intern/library.c',
'intern/property.c', 'intern/property.c',
'intern/softbody.c', 'intern/softbody.c',
'intern/texture.c'] 'intern/texture.c']
blenkernel_env.Append (CPPPATH = ['.', blenkernel_env.Append (CPPPATH = ['.',
@ -57,6 +59,9 @@ blenkernel_env.Append (CPPPATH = ['.',
if user_options_dict['USE_INTERNATIONAL'] == 1: if user_options_dict['USE_INTERNATIONAL'] == 1:
blenkernel_env.Append (CPPDEFINES = 'WITH_FREETYPE2') 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) blenkernel_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/blender_blenkernel', source=source_files)
SConscript(['bad_level_call_stubs/SConscript']) SConscript(['bad_level_call_stubs/SConscript'])