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:
authorCampbell Barton <ideasman42@gmail.com>2011-09-19 10:32:19 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-09-19 10:32:19 +0400
commit425a81a29b8adf1fc2d913dfc679d6ca62cd05fa (patch)
tree47f6c0b42f0c0f87495f4843d57ad874b5587d63 /source/blender/imbuf/SConscript
parent049838fe0ce1b2e737c7d2c539cb8a945d52b902 (diff)
remove WITH_* defines from image formats, instead just dont build the files at all.
Diffstat (limited to 'source/blender/imbuf/SConscript')
-rw-r--r--source/blender/imbuf/SConscript6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/imbuf/SConscript b/source/blender/imbuf/SConscript
index a80f92b4421..7c5b94b9e12 100644
--- a/source/blender/imbuf/SConscript
+++ b/source/blender/imbuf/SConscript
@@ -22,6 +22,8 @@ if env['WITH_BF_OPENEXR']:
if env['WITH_BF_TIFF']:
defs.append('WITH_TIFF')
+else:
+ sources.remove('intern/tiff.c')
if env['WITH_BF_DDS']:
defs.append('WITH_DDS')
@@ -31,6 +33,8 @@ if env['WITH_BF_CINEON']:
if env['WITH_BF_HDR']:
defs.append('WITH_HDR')
+else:
+ sources.remove('intern/radiance_hdr.c')
if env['WITH_BF_FFMPEG']:
defs.append('WITH_FFMPEG')
@@ -39,6 +43,8 @@ if env['WITH_BF_FFMPEG']:
if env['WITH_BF_OPENJPEG']:
defs.append('WITH_OPENJPEG')
incs += ' ' + env['BF_OPENJPEG_INC']
+else:
+ sources.remove('intern/jp2.c')
if env['WITH_BF_REDCODE']:
defs.append('WITH_REDCODE')