CMakeLists.txt 508 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. set(INC
  2. ../..
  3. )
  4. set(INC_SYS
  5. )
  6. set(SRC
  7. background.cpp
  8. bsdf_diffuse_ramp.cpp
  9. bsdf_phong_ramp.cpp
  10. emissive.cpp
  11. osl_bssrdf.cpp
  12. osl_closures.cpp
  13. osl_services.cpp
  14. osl_shader.cpp
  15. )
  16. set(HEADER_SRC
  17. osl_closures.h
  18. osl_globals.h
  19. osl_services.h
  20. osl_shader.h
  21. )
  22. set(LIB
  23. cycles_render
  24. )
  25. set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${RTTI_DISABLE_FLAGS}")
  26. include_directories(${INC})
  27. include_directories(SYSTEM ${INC_SYS})
  28. cycles_add_library(cycles_kernel_osl "${LIB}" ${SRC} ${HEADER_SRC})