Cycles: svn merge -r41225:41232 ^/trunk/blender
[blender.git] / intern / cycles / kernel / osl / CMakeLists.txt
1
2 include_directories(. ../ ../svm ../../render ../../util ../../device)
3
4 set(sources
5         background.cpp
6         bsdf_ashikhmin_velvet.cpp
7         bsdf_diffuse.cpp
8         bsdf_microfacet.cpp
9         bsdf_reflection.cpp
10         bsdf_refraction.cpp
11         bsdf_transparent.cpp
12         bsdf_ward.cpp
13         bsdf_westin.cpp
14         bssrdf.cpp
15         debug.cpp
16         emissive.cpp
17         osl_closures.cpp
18         osl_services.cpp
19         osl_shader.cpp
20         vol_subsurface.cpp)
21
22 set(headers
23         osl_closures.h
24         osl_globals.h
25         osl_services.h
26         osl_shader.h)
27
28 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${RTTI_DISABLE_FLAGS}")
29
30 add_library(cycles_kernel_osl ${sources} ${headers})
31
32 add_subdirectory(nodes)
33