2011-04-27 11:58:34 +00:00
|
|
|
|
2011-11-08 20:27:37 +00:00
|
|
|
set(INC
|
2011-05-03 18:29:11 +00:00
|
|
|
.
|
|
|
|
../device
|
|
|
|
../kernel
|
|
|
|
../kernel/svm
|
|
|
|
../kernel/osl
|
|
|
|
../bvh
|
|
|
|
../util
|
2011-11-08 20:27:37 +00:00
|
|
|
${GLEW_INCLUDE_PATH}
|
|
|
|
)
|
2011-04-27 11:58:34 +00:00
|
|
|
|
2011-11-08 20:27:37 +00:00
|
|
|
set(SRC
|
2011-04-27 11:58:34 +00:00
|
|
|
attribute.cpp
|
|
|
|
background.cpp
|
|
|
|
buffers.cpp
|
|
|
|
camera.cpp
|
|
|
|
film.cpp
|
2012-04-30 12:49:26 +00:00
|
|
|
# film_response.cpp (code unused)
|
2011-04-27 11:58:34 +00:00
|
|
|
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
|
2011-11-08 20:27:37 +00:00
|
|
|
tile.cpp
|
|
|
|
)
|
2011-04-27 11:58:34 +00:00
|
|
|
|
2011-11-08 20:27:37 +00:00
|
|
|
set(SRC_HEADERS
|
2011-04-27 11:58:34 +00:00
|
|
|
attribute.h
|
|
|
|
background.h
|
|
|
|
buffers.h
|
|
|
|
camera.h
|
|
|
|
film.h
|
2012-04-30 12:49:26 +00:00
|
|
|
# film_response.h (code unused)
|
2011-04-27 11:58:34 +00:00
|
|
|
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
|
2011-11-08 20:27:37 +00:00
|
|
|
tile.h
|
|
|
|
)
|
2011-04-27 11:58:34 +00:00
|
|
|
|
2011-08-16 16:15:34 +00:00
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${RTTI_DISABLE_FLAGS}")
|
2011-04-27 11:58:34 +00:00
|
|
|
|
2011-11-08 20:27:37 +00:00
|
|
|
include_directories(${INC})
|
|
|
|
|
|
|
|
add_library(cycles_render ${SRC} ${SRC_HEADERS})
|
2011-04-27 11:58:34 +00:00
|
|
|
|