use lowercase for cmake builtin names and macros, remove contents in else() and endif...
[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         ../../../source/kernel/gen_system
45         ../../../intern/string
46         ../../../intern/moto/include
47         ../../../intern/guardedalloc
48         ../../../extern/glew/include
49 )
50
51 set(SRC
52         Exception.cpp
53         FilterBase.cpp
54         FilterBlueScreen.cpp
55         FilterColor.cpp
56         FilterNormal.cpp
57         FilterSource.cpp
58         ImageBase.cpp
59         ImageBuff.cpp
60         ImageMix.cpp
61         ImageRender.cpp
62         ImageViewport.cpp
63         PyTypeList.cpp
64         Texture.cpp
65         VideoBase.cpp
66         VideoFFmpeg.cpp
67         blendVideoTex.cpp
68
69         BlendType.h
70         Common.h
71         Exception.h
72         FilterBase.h
73         FilterBlueScreen.h
74         FilterColor.h
75         FilterNormal.h
76         FilterSource.h
77         ImageBase.h
78         ImageBuff.h
79         ImageMix.h
80         ImageRender.h
81         ImageViewport.h
82         PyTypeList.h
83         Texture.h
84         VideoBase.h
85         VideoFFmpeg.h
86 )
87
88 if(WITH_CODEC_FFMPEG)
89         set(INC ${INC} ${FFMPEG_INC} ${PTHREADS_INC})
90         add_definitions(-DWITH_FFMPEG)
91         add_definitions(-D__STDC_CONSTANT_MACROS)
92 endif()
93
94 blenderlib(ge_videotex "${SRC}" "${INC}")