This repository has been archived on 2023-10-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
blender-archive/source/blender/blenkernel/SConscript
Stephen Swaney cda3383189 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' )
2005-03-22 07:45:20 +00:00

68 lines
2.4 KiB
Python

#!/usr/bin/python
Import ('user_options_dict')
Import ('library_env')
blenkernel_env = library_env.Copy ()
source_files = ['intern/constraint.c',
'intern/group.c',
'intern/material.c',
'intern/sca.c',
'intern/world.c',
'intern/curve.c',
'intern/ika.c',
'intern/mball.c',
'intern/scene.c',
'intern/writeavi.c',
'intern/action.c',
'intern/deform.c',
'intern/image.c',
'intern/mesh.c',
'intern/screen.c',
'intern/anim.c',
'intern/displist.c',
'intern/ipo.c',
'intern/nla.c',
'intern/sound.c',
'intern/armature.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',
'intern/packedFile.c',
'intern/text.c',
'intern/script.c',
'intern/bmfont.c',
'intern/font.c',
'intern/library.c',
'intern/property.c',
'intern/softbody.c',
'intern/texture.c']
blenkernel_env.Append (CPPPATH = ['.',
'#/intern/guardedalloc',
'../include',
'../blenlib',
'../makesdna',
'../python',
'../render/extern/include',
'../imbuf',
'../avi',
'#/intern/iksolver/extern',
'../blenloader'])
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'])