Ghost Context Refactor
[blender-staging.git] / source / gameengine / Rasterizer / CMakeLists.txt
1 # ***** BEGIN GPL LICENSE BLOCK *****
2 #
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.
7 #
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.
12 #
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.
16 #
17 # The Original Code is Copyright (C) 2006, Blender Foundation
18 # All rights reserved.
19 #
20 # The Original Code is: all of this file.
21 #
22 # Contributor(s): Jacques Beaurain.
23 #
24 # ***** END GPL LICENSE BLOCK *****
25
26 set(INC
27         .
28         ../Expressions
29         ../Ketsji
30         ../SceneGraph
31         ../../blender/makesdna
32         ../../blender/blenlib
33         ../../blender/blenkernel
34         ../../../intern/container
35         ../../../intern/glew-mx
36         ../../../intern/guardedalloc
37         ../../../intern/string
38 )
39
40 set(INC_SYS
41         ../../../intern/moto/include
42         ${GLEW_INCLUDE_PATH}
43         ${PYTHON_INCLUDE_DIRS}
44 )
45
46 set(SRC
47         RAS_2DFilterManager.cpp
48         RAS_BucketManager.cpp
49         RAS_FramingManager.cpp
50         RAS_IPolygonMaterial.cpp
51         RAS_MaterialBucket.cpp
52         RAS_MeshObject.cpp
53         RAS_Polygon.cpp
54         RAS_TexVert.cpp
55         RAS_texmatrix.cpp
56
57         RAS_2DFilterManager.h
58         RAS_BucketManager.h
59         RAS_CameraData.h
60         RAS_Deformer.h
61         RAS_FramingManager.h
62         RAS_ICanvas.h
63         RAS_IPolygonMaterial.h
64         RAS_IRasterizer.h
65         RAS_ILightObject.h
66         RAS_MaterialBucket.h
67         RAS_MeshObject.h
68         RAS_ObjectColor.h
69         RAS_Polygon.h
70         RAS_Rect.h
71         RAS_TexMatrix.h
72         RAS_TexVert.h
73         RAS_OpenGLFilters/RAS_Blur2DFilter.h
74         RAS_OpenGLFilters/RAS_Dilation2DFilter.h
75         RAS_OpenGLFilters/RAS_Erosion2DFilter.h
76         RAS_OpenGLFilters/RAS_GrayScale2DFilter.h
77         RAS_OpenGLFilters/RAS_Invert2DFilter.h
78         RAS_OpenGLFilters/RAS_Laplacian2DFilter.h
79         RAS_OpenGLFilters/RAS_Prewitt2DFilter.h
80         RAS_OpenGLFilters/RAS_Sepia2DFilter.h
81         RAS_OpenGLFilters/RAS_Sharpen2DFilter.h
82         RAS_OpenGLFilters/RAS_Sobel2DFilter.h
83 )
84
85 add_definitions(${GL_DEFINITIONS})
86
87 blender_add_lib(ge_rasterizer "${SRC}" "${INC}" "${INC_SYS}")