rename cmake include/libraries to conform with suggested cmake names
[blender.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 )
50
51 set(INC_SYS
52         ${GLEW_INCLUDE_PATH}
53 )
54
55 set(SRC
56         Exception.cpp
57         FilterBase.cpp
58         FilterBlueScreen.cpp
59         FilterColor.cpp
60         FilterNormal.cpp
61         FilterSource.cpp
62         ImageBase.cpp
63         ImageBuff.cpp
64         ImageMix.cpp
65         ImageRender.cpp
66         ImageViewport.cpp
67         PyTypeList.cpp
68         Texture.cpp
69         VideoBase.cpp
70         VideoFFmpeg.cpp
71         blendVideoTex.cpp
72
73         BlendType.h
74         Common.h
75         Exception.h
76         FilterBase.h
77         FilterBlueScreen.h
78         FilterColor.h
79         FilterNormal.h
80         FilterSource.h
81         ImageBase.h
82         ImageBuff.h
83         ImageMix.h
84         ImageRender.h
85         ImageViewport.h
86         PyTypeList.h
87         Texture.h
88         VideoBase.h
89         VideoFFmpeg.h
90 )
91
92 if(WITH_CODEC_FFMPEG)
93         list(APPEND INC_SYS
94                 ${FFMPEG_INCLUDE_DIRS}
95                 ${PTHREADS_INCLUDE_DIRS}
96         )
97         add_definitions(-DWITH_FFMPEG)
98         add_definitions(-D__STDC_CONSTANT_MACROS)
99 endif()
100
101 blender_add_lib(ge_videotex "${SRC}" "${INC}" "${INC_SYS}")