<commit_before>
set(INC
	.
	..
	../svm
	../../render
	../../util
	../../device
)

set(SRC
	background.cpp
	bsdf_ashikhmin_velvet.cpp
	bsdf_diffuse.cpp
	bsdf_oren_nayar.cpp
	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
	vol_subsurface.cpp
)

set(HEADER_SRC
	osl_closures.h
	osl_globals.h
	osl_services.h
	osl_shader.h
)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${RTTI_DISABLE_FLAGS}")

include_directories(${INC})

add_library(cycles_kernel_osl ${SRC} ${HEADER_SRC})

add_subdirectory(nodes)<commit_msg>Added library linking for cycles_kernel_osl to OSL libraries and added cycles_kernel_osl to the list of blender libs in creator.<commit_after>
set(INC
	.
	..
	../svm
	../../render
	../../util
	../../device
)

set(SRC
	background.cpp
	bsdf_ashikhmin_velvet.cpp
	bsdf_diffuse.cpp
	bsdf_oren_nayar.cpp
	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
	vol_subsurface.cpp
)

set(HEADER_SRC
	osl_closures.h
	osl_globals.h
	osl_services.h
	osl_shader.h
)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${RTTI_DISABLE_FLAGS}")

include_directories(${INC})

add_library(cycles_kernel_osl ${SRC} ${HEADER_SRC})

add_subdirectory(nodes)

if(WITH_CYCLES_OSL)
	target_link_libraries(cycles_kernel_osl ${OSL_LIBRARIES})
endif()
{'fraction_non_alphanumeric': 0.1100196463654224, 'fraction_numerical': 0.0, 'mean_word_length': 4.787878787878788, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3917673', 'n_tokens_mistral': 684, 'n_tokens_neox': 674, 'n_words': 95}