code cleanup:
[blender.git] / intern / cycles / kernel / osl / CMakeLists.txt
1
2 set(INC
3         .
4         ..
5         ../svm
6         ../../render
7         ../../util
8         ../../device
9 )
10
11 set(INC_SYS
12
13 )
14
15 set(SRC
16         background.cpp
17         bsdf_ashikhmin_velvet.cpp
18         bsdf_diffuse.cpp
19         bsdf_oren_nayar.cpp
20         bsdf_phong.cpp
21         bsdf_microfacet.cpp
22         bsdf_reflection.cpp
23         bsdf_refraction.cpp
24         bsdf_transparent.cpp
25         bsdf_ward.cpp
26         bsdf_westin.cpp
27         bssrdf.cpp
28         debug.cpp
29         emissive.cpp
30         osl_closures.cpp
31         osl_services.cpp
32         osl_shader.cpp
33         vol_subsurface.cpp
34 )
35
36 set(HEADER_SRC
37         osl_closures.h
38         osl_globals.h
39         osl_services.h
40         osl_shader.h
41 )
42
43 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${RTTI_DISABLE_FLAGS}")
44
45 include_directories(${INC})
46 include_directories(SYSTEM ${INC_SYS})
47
48 add_library(cycles_kernel_osl ${SRC} ${HEADER_SRC})
49
50 add_subdirectory(nodes)