msvc: Use source folder structure for project file.
[blender.git] / intern / cycles / kernel / osl / CMakeLists.txt
1
2 set(INC
3         ../..
4 )
5
6 set(INC_SYS
7
8 )
9
10 set(SRC
11         background.cpp
12         bsdf_diffuse_ramp.cpp
13         bsdf_phong_ramp.cpp
14         emissive.cpp
15         osl_bssrdf.cpp
16         osl_closures.cpp
17         osl_services.cpp
18         osl_shader.cpp
19 )
20
21 set(HEADER_SRC
22         osl_closures.h
23         osl_globals.h
24         osl_services.h
25         osl_shader.h
26 )
27
28 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${RTTI_DISABLE_FLAGS}")
29
30 include_directories(${INC})
31 include_directories(SYSTEM ${INC_SYS})
32
33 cycles_add_library(cycles_kernel_osl ${SRC} ${HEADER_SRC})
34