0ce40eda4df143725b84bc39813340431251749f
[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_diffuse_ramp.cpp
18         bsdf_phong_ramp.cpp
19         bsdf_toon.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