blender/intern/cycles/render/CMakeLists.txt
Stefan Werner e58c6cf0c6 Cycles: Added Cryptomatte output.
This allows for extra output passes that encode automatic object and material masks
for the entire scene. It is an implementation of the Cryptomatte standard as
introduced by Psyop. A good future extension would be to add a manifest to the
export and to do plenty of testing to ensure that it is fully compatible with other
renderers and compositing programs that use Cryptomatte.

Internally, it adds the ability for Cycles to have several passes of the same type
that are distinguished by their name.

Differential Revision: https://developer.blender.org/D3538
2018-10-28 05:37:41 -04:00

80 lines
960 B
CMake

set(INC
..
../../glew-mx
)
set(INC_SYS
${GLEW_INCLUDE_DIR}
)
set(SRC
attribute.cpp
background.cpp
bake.cpp
buffers.cpp
camera.cpp
constant_fold.cpp
coverage.cpp
film.cpp
graph.cpp
image.cpp
integrator.cpp
light.cpp
mesh.cpp
mesh_displace.cpp
mesh_subdivision.cpp
mesh_volume.cpp
nodes.cpp
object.cpp
osl.cpp
particles.cpp
curves.cpp
scene.cpp
session.cpp
shader.cpp
sobol.cpp
stats.cpp
svm.cpp
tables.cpp
tile.cpp
)
set(SRC_HEADERS
attribute.h
bake.h
background.h
buffers.h
camera.h
constant_fold.h
coverage.h
film.h
graph.h
image.h
integrator.h
light.h
mesh.h
nodes.h
object.h
osl.h
particles.h
curves.h
scene.h
session.h
shader.h
sobol.h
stats.h
svm.h
tables.h
tile.h
)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${RTTI_DISABLE_FLAGS}")
include_directories(${INC})
include_directories(SYSTEM ${INC_SYS})
add_definitions(${GL_DEFINITIONS})
cycles_add_library(cycles_render ${SRC} ${SRC_HEADERS})