1 # ***** BEGIN GPL LICENSE BLOCK *****
3 # This program is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU General Public License
5 # as published by the Free Software Foundation; either version 2
6 # of the License, or (at your option) any later version.
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # GNU General Public License for more details.
13 # You should have received a copy of the GNU General Public License
14 # along with this program; if not, write to the Free Software Foundation,
15 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17 # The Original Code is Copyright (C) 2006, Blender Foundation
18 # All rights reserved.
20 # The Original Code is: all of this file.
22 # Contributor(s): Jacques Beaurain.
24 # ***** END GPL LICENSE BLOCK *****
27 # FFMPEG gives warnigns which are hard to avoid across multiple versions.
38 ../../../intern/guardedalloc
39 ../../../intern/memutil
65 intern/openimageio.cpp
81 intern/IMB_allocimbuf.h
87 intern/cineon/cin_debug_stuff.h
88 intern/cineon/cineonfile.h
89 intern/cineon/cineonlib.h
90 intern/cineon/dpxfile.h
91 intern/cineon/dpxlib.h
92 intern/cineon/logImageCore.h
93 intern/cineon/logImageLib.h
94 intern/cineon/logmemfile.h
97 intern/dds/ColorBlock.h
99 intern/dds/DirectDrawSurface.h
101 intern/dds/PixelFormat.h
106 intern/openexr/openexr_api.h
107 intern/openexr/openexr_multi.h
110 ../../../intern/ffmpeg/ffmpeg_compat.h
113 if(WITH_IMAGE_OPENEXR)
114 add_definitions(-DWITH_OPENEXR)
125 add_definitions(-DWITH_TIFF)
128 if(WITH_IMAGE_OPENJPEG)
130 ${OPENJPEG_INCLUDE_DIRS}
136 add_definitions(-DWITH_OPENJPEG)
139 if(WITH_IMAGE_REDCODE)
143 add_definitions(-DWITH_REDCODE)
146 if(WITH_CODEC_QUICKTIME)
151 ${QUICKTIME_INCLUDE_DIRS}
153 add_definitions(-DWITH_QUICKTIME)
156 if(WITH_CODEC_FFMPEG)
158 ../../../intern/ffmpeg
161 ${FFMPEG_INCLUDE_DIRS}
163 add_definitions(-DWITH_FFMPEG)
167 add_definitions(-DWITH_DDS)
170 if(WITH_IMAGE_CINEON)
171 add_definitions(-DWITH_CINEON)
176 intern/radiance_hdr.c
178 add_definitions(-DWITH_HDR)
183 ${OPENIMAGEIO_INCLUDES}
185 # disabled for now add_definitions(-DWITH_OPENIMAGEIO ${OPENIMAGEIO_DEFINITIONS})
188 blender_add_lib(bf_imbuf "${SRC}" "${INC}" "${INC_SYS}")