2 # ***** BEGIN GPL LICENSE BLOCK *****
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU General Public License
6 # as published by the Free Software Foundation; either version 2
7 # of the License, or (at your option) any later version.
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software Foundation,
16 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 # The Original Code is Copyright (C) 2006, Blender Foundation
19 # All rights reserved.
21 # The Original Code is: all of this file.
23 # Contributor(s): Jacques Beaurain.
25 # ***** END GPL LICENSE BLOCK *****
28 # FFMPEG gives warnigns which are hard to avoid across multiple versions.
39 ../../../intern/memutil
40 ../../../intern/guardedalloc
41 ../../../intern/ffmpeg
78 intern/IMB_allocimbuf.h
83 intern/cineon/cin_debug_stuff.h
84 intern/cineon/cineonfile.h
85 intern/cineon/cineonlib.h
86 intern/cineon/dpxfile.h
87 intern/cineon/dpxlib.h
88 intern/cineon/logImageCore.h
89 intern/cineon/logImageLib.h
90 intern/cineon/logmemfile.h
93 intern/dds/ColorBlock.h
95 intern/dds/DirectDrawSurface.h
97 intern/dds/PixelFormat.h
102 intern/openexr/openexr_api.h
103 intern/openexr/openexr_multi.h
106 if(WITH_IMAGE_OPENEXR)
107 add_definitions(-DWITH_OPENEXR)
111 list(APPEND INC ${TIFF_INCLUDE_DIR})
112 add_definitions(-DWITH_TIFF)
115 if(WITH_IMAGE_OPENJPEG)
116 list(APPEND INC ${OPENJPEG_INC})
117 add_definitions(-DWITH_OPENJPEG)
120 if(WITH_IMAGE_REDCODE)
121 list(APPEND INC ${REDCODE_INC})
122 add_definitions(-DWITH_REDCODE)
125 if(WITH_CODEC_QUICKTIME)
130 add_definitions(-DWITH_QUICKTIME)
133 if(WITH_CODEC_FFMPEG)
134 list(APPEND INC ${FFMPEG_INC})
135 add_definitions(-DWITH_FFMPEG)
139 add_definitions(-DWITH_DDS)
142 if(WITH_IMAGE_CINEON)
143 add_definitions(-DWITH_CINEON)
147 add_definitions(-DWITH_HDR)
150 blender_add_lib(bf_imbuf "${SRC}" "${INC}")