blender/intern/cycles/render/CMakeLists.txt
2012-03-18 07:38:51 +00:00

68 lines
823 B
CMake

set(INC
.
../device
../kernel
../kernel/svm
../kernel/osl
../bvh
../util
${GLEW_INCLUDE_PATH}
)
set(SRC
attribute.cpp
background.cpp
buffers.cpp
camera.cpp
film.cpp
# film_response.cpp # XXX, why isn't this in?
filter.cpp
graph.cpp
image.cpp
integrator.cpp
light.cpp
mesh.cpp
mesh_displace.cpp
nodes.cpp
object.cpp
osl.cpp
scene.cpp
session.cpp
shader.cpp
sobol.cpp
svm.cpp
tile.cpp
)
set(SRC_HEADERS
attribute.h
background.h
buffers.h
camera.h
film.h
# film_response.h # XXX, why isn't this in?
filter.h
graph.h
image.h
integrator.h
light.h
mesh.h
nodes.h
object.h
osl.h
scene.h
session.h
shader.h
sobol.h
svm.h
tile.h
)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${RTTI_DISABLE_FLAGS}")
include_directories(${INC})
add_library(cycles_render ${SRC} ${SRC_HEADERS})