Fix build error on Windows 32 bit.
[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         ../../blender/gpu
35         ../../blender/imbuf
36         ../../../intern/container
37         ../../../intern/glew-mx
38         ../../../intern/guardedalloc
39         ../../../intern/string
40 )
41
42 set(INC_SYS
43         ../../../intern/moto/include
44         ${GLEW_INCLUDE_PATH}
45         ${PYTHON_INCLUDE_DIRS}
46 )
47
48 set(SRC
49         RAS_2DFilterManager.cpp
50         RAS_BucketManager.cpp
51         RAS_FramingManager.cpp
52         RAS_IPolygonMaterial.cpp
53         RAS_MaterialBucket.cpp
54         RAS_MeshObject.cpp
55         RAS_Polygon.cpp
56         RAS_TexVert.cpp
57         RAS_texmatrix.cpp
58         RAS_ICanvas.cpp
59
60         RAS_2DFilterManager.h
61         RAS_BucketManager.h
62         RAS_CameraData.h
63         RAS_Deformer.h
64         RAS_FramingManager.h
65         RAS_ICanvas.h
66         RAS_IPolygonMaterial.h
67         RAS_IRasterizer.h
68         RAS_ILightObject.h
69         RAS_IOffScreen.h
70         RAS_ISync.h
71         RAS_MaterialBucket.h
72         RAS_MeshObject.h
73         RAS_ObjectColor.h
74         RAS_Polygon.h
75         RAS_Rect.h
76         RAS_TexMatrix.h
77         RAS_TexVert.h
78         RAS_OpenGLFilters/RAS_Blur2DFilter.h
79         RAS_OpenGLFilters/RAS_Dilation2DFilter.h
80         RAS_OpenGLFilters/RAS_Erosion2DFilter.h
81         RAS_OpenGLFilters/RAS_GrayScale2DFilter.h
82         RAS_OpenGLFilters/RAS_Invert2DFilter.h
83         RAS_OpenGLFilters/RAS_Laplacian2DFilter.h
84         RAS_OpenGLFilters/RAS_Prewitt2DFilter.h
85         RAS_OpenGLFilters/RAS_Sepia2DFilter.h
86         RAS_OpenGLFilters/RAS_Sharpen2DFilter.h
87         RAS_OpenGLFilters/RAS_Sobel2DFilter.h
88 )
89
90 add_definitions(${GL_DEFINITIONS})
91
92 blender_add_lib(ge_rasterizer "${SRC}" "${INC}" "${INC_SYS}")