Code refactor: add generic Cycles node infrastructure.
[blender-staging.git] / intern / cycles / kernel / osl / CMakeLists.txt
1
2 set(INC
3         .
4         ..
5         ../svm
6         ../../graph
7         ../../render
8         ../../util
9         ../../device
10 )
11
12 set(INC_SYS
13
14 )
15
16 set(SRC
17         background.cpp
18         bsdf_diffuse_ramp.cpp
19         bsdf_phong_ramp.cpp
20         emissive.cpp
21         osl_bssrdf.cpp
22         osl_closures.cpp
23         osl_services.cpp
24         osl_shader.cpp
25 )
26
27 set(HEADER_SRC
28         osl_bssrdf.h
29         osl_closures.h
30         osl_globals.h
31         osl_services.h
32         osl_shader.h
33 )
34
35 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${RTTI_DISABLE_FLAGS}")
36
37 include_directories(${INC})
38 include_directories(SYSTEM ${INC_SYS})
39
40 add_library(cycles_kernel_osl ${SRC} ${HEADER_SRC})
41