forked from bartvdbraak/blender
6b9ab1f7a2
Note: This is not about functionality, but about using the same stub file we are using in Blender for the game engine in blender2.8.
93 lines
2.3 KiB
CMake
93 lines
2.3 KiB
CMake
# ***** BEGIN GPL LICENSE BLOCK *****
|
|
#
|
|
# This program is free software; you can redistribute it and/or
|
|
# modify it under the terms of the GNU General Public License
|
|
# as published by the Free Software Foundation; either version 2
|
|
# of the License, or (at your option) any later version.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program; if not, write to the Free Software Foundation,
|
|
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
#
|
|
# The Original Code is Copyright (C) 2006, Blender Foundation
|
|
# All rights reserved.
|
|
#
|
|
# The Original Code is: all of this file.
|
|
#
|
|
# Contributor(s): Jacques Beaurain.
|
|
#
|
|
# ***** END GPL LICENSE BLOCK *****
|
|
|
|
set(INC
|
|
.
|
|
../Expressions
|
|
../Ketsji
|
|
../SceneGraph
|
|
../../blender/makesdna
|
|
../../blender/blenlib
|
|
../../blender/blenkernel
|
|
../../blender/gpu
|
|
../../blender/imbuf
|
|
../../../intern/container
|
|
../../../intern/glew-mx
|
|
../../../intern/guardedalloc
|
|
../../../intern/string
|
|
)
|
|
|
|
set(INC_SYS
|
|
../../../intern/moto/include
|
|
${GLEW_INCLUDE_PATH}
|
|
${PYTHON_INCLUDE_DIRS}
|
|
)
|
|
|
|
set(SRC
|
|
RAS_2DFilterManager.cpp
|
|
RAS_BucketManager.cpp
|
|
RAS_FramingManager.cpp
|
|
RAS_IPolygonMaterial.cpp
|
|
RAS_MaterialBucket.cpp
|
|
RAS_MeshObject.cpp
|
|
RAS_Polygon.cpp
|
|
RAS_TexVert.cpp
|
|
RAS_texmatrix.cpp
|
|
RAS_ICanvas.cpp
|
|
|
|
RAS_2DFilterManager.h
|
|
RAS_BucketManager.h
|
|
RAS_CameraData.h
|
|
RAS_Deformer.h
|
|
RAS_FramingManager.h
|
|
RAS_ICanvas.h
|
|
RAS_IPolygonMaterial.h
|
|
RAS_IRasterizer.h
|
|
RAS_ILightObject.h
|
|
RAS_IOffScreen.h
|
|
RAS_ISync.h
|
|
RAS_MaterialBucket.h
|
|
RAS_MeshObject.h
|
|
RAS_ObjectColor.h
|
|
RAS_Polygon.h
|
|
RAS_Rect.h
|
|
RAS_TexMatrix.h
|
|
RAS_TexVert.h
|
|
RAS_OpenGLFilters/RAS_Blur2DFilter.h
|
|
RAS_OpenGLFilters/RAS_Dilation2DFilter.h
|
|
RAS_OpenGLFilters/RAS_Erosion2DFilter.h
|
|
RAS_OpenGLFilters/RAS_GrayScale2DFilter.h
|
|
RAS_OpenGLFilters/RAS_Invert2DFilter.h
|
|
RAS_OpenGLFilters/RAS_Laplacian2DFilter.h
|
|
RAS_OpenGLFilters/RAS_Prewitt2DFilter.h
|
|
RAS_OpenGLFilters/RAS_Sepia2DFilter.h
|
|
RAS_OpenGLFilters/RAS_Sharpen2DFilter.h
|
|
RAS_OpenGLFilters/RAS_Sobel2DFilter.h
|
|
)
|
|
|
|
add_definitions(${GL_DEFINITIONS})
|
|
|
|
blender_add_lib(ge_rasterizer "${SRC}" "${INC}" "${INC_SYS}")
|