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
|
|
|
)
|
2012-10-17 04:13:03 +00:00
|
|
|
|
2012-09-20 09:04:43 +00:00
|
|
|
set(INC_SYS
|
|
|
|
${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
|
2013-04-01 20:26:52 +00:00
|
|
|
bssrdf.cpp
|
2011-04-27 11:58:34 +00:00
|
|
|
camera.cpp
|
|
|
|
film.cpp
|
|
|
|
graph.cpp
|
|
|
|
image.cpp
|
|
|
|
integrator.cpp
|
|
|
|
light.cpp
|
|
|
|
mesh.cpp
|
|
|
|
mesh_displace.cpp
|
|
|
|
nodes.cpp
|
|
|
|
object.cpp
|
|
|
|
osl.cpp
|
2012-08-31 17:27:08 +00:00
|
|
|
particles.cpp
|
2012-12-28 14:21:30 +00:00
|
|
|
curves.cpp
|
2011-04-27 11:58:34 +00:00
|
|
|
scene.cpp
|
|
|
|
session.cpp
|
|
|
|
shader.cpp
|
|
|
|
sobol.cpp
|
|
|
|
svm.cpp
|
2013-04-01 20:26:43 +00:00
|
|
|
tables.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
|
2013-04-01 20:26:52 +00:00
|
|
|
bssrdf.h
|
2011-04-27 11:58:34 +00:00
|
|
|
camera.h
|
|
|
|
film.h
|
|
|
|
graph.h
|
|
|
|
image.h
|
|
|
|
integrator.h
|
|
|
|
light.h
|
|
|
|
mesh.h
|
|
|
|
nodes.h
|
|
|
|
object.h
|
|
|
|
osl.h
|
2012-08-31 17:27:08 +00:00
|
|
|
particles.h
|
2012-12-28 14:21:30 +00:00
|
|
|
curves.h
|
2011-04-27 11:58:34 +00:00
|
|
|
scene.h
|
|
|
|
session.h
|
|
|
|
shader.h
|
|
|
|
sobol.h
|
|
|
|
svm.h
|
2013-04-01 20:26:43 +00:00
|
|
|
tables.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})
|
2012-09-20 09:04:43 +00:00
|
|
|
include_directories(SYSTEM ${INC_SYS})
|
2011-11-08 20:27:37 +00:00
|
|
|
|
|
|
|
add_library(cycles_render ${SRC} ${SRC_HEADERS})
|
2011-04-27 11:58:34 +00:00
|
|
|
|