2011-04-27 11:58:34 +00:00
|
|
|
|
2011-11-08 20:27:37 +00:00
|
|
|
set(INC
|
|
|
|
.
|
2011-11-10 06:05:22 +00:00
|
|
|
..
|
2011-11-08 20:27:37 +00:00
|
|
|
../svm
|
|
|
|
../../render
|
|
|
|
../../util
|
|
|
|
../../device
|
|
|
|
)
|
2012-09-20 09:04:43 +00:00
|
|
|
set(INC_SYS
|
|
|
|
)
|
2011-04-27 11:58:34 +00:00
|
|
|
|
2011-11-08 20:27:37 +00:00
|
|
|
set(SRC
|
2011-04-27 11:58:34 +00:00
|
|
|
background.cpp
|
|
|
|
bsdf_ashikhmin_velvet.cpp
|
|
|
|
bsdf_diffuse.cpp
|
2011-11-14 17:31:47 +00:00
|
|
|
bsdf_oren_nayar.cpp
|
2012-09-05 23:22:36 +00:00
|
|
|
bsdf_phong.cpp
|
2011-04-27 11:58:34 +00:00
|
|
|
bsdf_microfacet.cpp
|
|
|
|
bsdf_reflection.cpp
|
|
|
|
bsdf_refraction.cpp
|
|
|
|
bsdf_transparent.cpp
|
|
|
|
bsdf_ward.cpp
|
|
|
|
bsdf_westin.cpp
|
|
|
|
bssrdf.cpp
|
|
|
|
debug.cpp
|
|
|
|
emissive.cpp
|
|
|
|
osl_closures.cpp
|
|
|
|
osl_services.cpp
|
|
|
|
osl_shader.cpp
|
2011-11-08 20:27:37 +00:00
|
|
|
vol_subsurface.cpp
|
|
|
|
)
|
2011-04-27 11:58:34 +00:00
|
|
|
|
2011-11-08 20:27:37 +00:00
|
|
|
set(HEADER_SRC
|
2011-04-27 11:58:34 +00:00
|
|
|
osl_closures.h
|
|
|
|
osl_globals.h
|
|
|
|
osl_services.h
|
2011-11-08 20:27:37 +00:00
|
|
|
osl_shader.h
|
|
|
|
)
|
2011-04-27 11:58:34 +00:00
|
|
|
|
2011-08-16 16:15:34 +00:00
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${RTTI_DISABLE_FLAGS}")
|
2011-04-27 11:58:34 +00:00
|
|
|
|
2011-11-08 20:27:37 +00:00
|
|
|
include_directories(${INC})
|
2012-09-20 09:04:43 +00:00
|
|
|
include_directories(SYSTEM ${INC_SYS})
|
2011-04-27 11:58:34 +00:00
|
|
|
|
2011-11-08 20:27:37 +00:00
|
|
|
add_library(cycles_kernel_osl ${SRC} ${HEADER_SRC})
|
2011-04-27 11:58:34 +00:00
|
|
|
|
2011-11-08 20:27:37 +00:00
|
|
|
add_subdirectory(nodes)
|