diff options
author | Robert Holcomb <bob_holcomb@hotmail.com> | 2007-03-24 10:10:57 +0300 |
---|---|---|
committer | Robert Holcomb <bob_holcomb@hotmail.com> | 2007-03-24 10:10:57 +0300 |
commit | c8758678a75548507204663c1f2917709ec7a25a (patch) | |
tree | 47a8172bf94b575cd37544da8c7b59eb5b7e1b95 /source/blender/nodes/SConscript | |
parent | 611d1c523c6872e048ba0f379d116d727a756e1e (diff) |
scons script initial commit. NOT TESTED yet, but I'm doing that.
Diffstat (limited to 'source/blender/nodes/SConscript')
-rw-r--r-- | source/blender/nodes/SConscript | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/source/blender/nodes/SConscript b/source/blender/nodes/SConscript new file mode 100644 index 00000000000..7f3c883a46c --- /dev/null +++ b/source/blender/nodes/SConscript @@ -0,0 +1,44 @@ +#!/usr/bin/python +Import ('env') + +sources = env.Glob('intern/*.c') +sources += env.Glob('intern/CMP_nodes/*.c') +sources += env.Glob('intern/SHD_nodes/*.c') + +incs = '. #/intern/guardedalloc ../include ../blenlib ../makesdna' +incs += ' ../python ../render/extern/include ' +incs += ' ../imbuf ../avi ' +incs += ' ../blenloader ../quicktime' +incs += ' ../blenkernel ../renderconverter ' + + +incs += ' ' + env['BF_OPENGL_INC'] +incs += ' ' + env['BF_ZLIB_INC'] +incs += ' ' + env['BF_SDL_INC'] + +defs = '' + +if env['WITH_BF_INTERNATIONAL']: + defs += 'WITH_FREETYPE2' + +if env['WITH_BF_VERSE']: + defs += ' WITH_VERSE' + incs += ' ' + env['BF_VERSE_INCLUDE'] + +if env['WITH_BF_VERSE']: + defs += ' WITH_VERSE' + +if env['WITH_BF_OPENEXR'] == 1: + defs += ' WITH_OPENEXR' + +if env['WITH_BF_FFMPEG'] == 1: + defs += ' WITH_FFMPEG' + incs += ' ' + env['BF_FFMPEG_INC'] + +if env['WITH_BF_QUICKTIME'] == 1: + defs += ' WITH_QUICKTIME' + incs += ' ' + env['BF_QUICKTIME_INC'] + +defs += ' WITH_CCGSUBSURF' + +env.BlenderLib ( libname = 'nodes', sources = sources, includes = Split(incs), defines = Split(defs), libtype=['core','player'], priority = [65, 20] ) |