== FFMPEG ==
[blender-staging.git] / source / gameengine / VideoTexture / CMakeLists.txt
1 # $Id$
2 # ***** BEGIN GPL LICENSE BLOCK *****
3 #
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.
8 #
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.
13 #
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.
17 #
18 # The Original Code is Copyright (C) 2006, Blender Foundation
19 # All rights reserved.
20 #
21 # The Original Code is: all of this file.
22 #
23 # Contributor(s): Jacques Beaurain.
24 #
25 # ***** END GPL LICENSE BLOCK *****
26
27 set(INC
28         .
29         ../../../source/gameengine/Ketsji
30         ../../../source/gameengine/Expressions
31         ../../../source/gameengine/GameLogic
32         ../../../source/gameengine/SceneGraph
33         ../../../source/gameengine/Rasterizer
34         ../../../source/gameengine/Rasterizer/RAS_OpenGLRasterizer
35         ../../../source/gameengine/BlenderRoutines
36         ../../../source/blender/blenlib
37         ../../../source/blender/blenkernel
38         ../../../source/blender/makesdna
39         ../../../source/blender/editors/include
40         ../../../source/blender/imbuf
41         ../../../source/blender/python
42         ../../../source/blender/python/generic
43         ../../../source/blender/gpu
44         ../../../intern/container
45         ../../../intern/string
46         ../../../intern/moto/include
47         ../../../intern/guardedalloc
48         ../../../intern/ffmpeg
49         ${GLEW_INCLUDE_PATH}
50 )
51
52 set(SRC
53         Exception.cpp
54         FilterBase.cpp
55         FilterBlueScreen.cpp
56         FilterColor.cpp
57         FilterNormal.cpp
58         FilterSource.cpp
59         ImageBase.cpp
60         ImageBuff.cpp
61         ImageMix.cpp
62         ImageRender.cpp
63         ImageViewport.cpp
64         PyTypeList.cpp
65         Texture.cpp
66         VideoBase.cpp
67         VideoFFmpeg.cpp
68         blendVideoTex.cpp
69
70         BlendType.h
71         Common.h
72         Exception.h
73         FilterBase.h
74         FilterBlueScreen.h
75         FilterColor.h
76         FilterNormal.h
77         FilterSource.h
78         ImageBase.h
79         ImageBuff.h
80         ImageMix.h
81         ImageRender.h
82         ImageViewport.h
83         PyTypeList.h
84         Texture.h
85         VideoBase.h
86         VideoFFmpeg.h
87 )
88
89 if(WITH_CODEC_FFMPEG)
90         set(INC ${INC} ${FFMPEG_INC} ${PTHREADS_INC})
91         add_definitions(-DWITH_FFMPEG)
92         add_definitions(-D__STDC_CONSTANT_MACROS)
93 endif()
94
95 blender_add_lib(ge_videotex "${SRC}" "${INC}")