<commit_before>
set(INC
	..
	../../glew-mx
	../../guardedalloc
	../../mikktspace
	../../../source/blender/makesdna
	../../../source/blender/makesrna
	../../../source/blender/blenlib
	${CMAKE_BINARY_DIR}/source/blender/makesrna/intern
)

set(INC_SYS
	${PYTHON_INCLUDE_DIRS}
	${GLEW_INCLUDE_DIR}
)

set(SRC
	blender_camera.cpp
	blender_device.cpp
	blender_mesh.cpp
	blender_object.cpp
	blender_object_cull.cpp
	blender_particles.cpp
	blender_curves.cpp
	blender_logging.cpp
	blender_python.cpp
	blender_session.cpp
	blender_shader.cpp
	blender_sync.cpp
	blender_texture.cpp

	CCL_api.h
	blender_object_cull.h
	blender_sync.h
	blender_session.h
	blender_texture.h
	blender_util.h
)

set(ADDON_FILES
	addon/__init__.py
	addon/engine.py
	addon/operators.py
	addon/osl.py
	addon/presets.py
	addon/properties.py
	addon/ui.py
	addon/version_update.py
)

add_definitions(${GL_DEFINITIONS})

if(WITH_CYCLES_DEVICE_OPENCL)
    add_definitions(-DWITH_OPENCL)
endif()

if(WITH_CYCLES_NETWORK)
	add_definitions(-DWITH_NETWORK)
endif()

blender_add_lib(bf_intern_cycles "${SRC}" "${INC}" "${INC_SYS}")

# avoid link failure with clang 3.4 debug
if(CMAKE_C_COMPILER_ID MATCHES "Clang" AND NOT ${CMAKE_C_COMPILER_VERSION} VERSION_LESS '3.4')
	set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -gline-tables-only")
endif()
<commit_msg>CMake: prepare for BLENDER_SORTED_LIBS removal<commit_after>
set(INC
	..
	../../glew-mx
	../../guardedalloc
	../../mikktspace
	../../../source/blender/makesdna
	../../../source/blender/makesrna
	../../../source/blender/blenlib
	${CMAKE_BINARY_DIR}/source/blender/makesrna/intern
)

set(INC_SYS
	${PYTHON_INCLUDE_DIRS}
	${GLEW_INCLUDE_DIR}
)

set(SRC
	blender_camera.cpp
	blender_device.cpp
	blender_mesh.cpp
	blender_object.cpp
	blender_object_cull.cpp
	blender_particles.cpp
	blender_curves.cpp
	blender_logging.cpp
	blender_python.cpp
	blender_session.cpp
	blender_shader.cpp
	blender_sync.cpp
	blender_texture.cpp

	CCL_api.h
	blender_object_cull.h
	blender_sync.h
	blender_session.h
	blender_texture.h
	blender_util.h
)

set(LIB
)

set(ADDON_FILES
	addon/__init__.py
	addon/engine.py
	addon/operators.py
	addon/osl.py
	addon/presets.py
	addon/properties.py
	addon/ui.py
	addon/version_update.py
)

add_definitions(${GL_DEFINITIONS})

if(WITH_CYCLES_DEVICE_OPENCL)
    add_definitions(-DWITH_OPENCL)
endif()

if(WITH_CYCLES_NETWORK)
	add_definitions(-DWITH_NETWORK)
endif()

blender_add_lib(bf_intern_cycles "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")

# avoid link failure with clang 3.4 debug
if(CMAKE_C_COMPILER_ID MATCHES "Clang" AND NOT ${CMAKE_C_COMPILER_VERSION} VERSION_LESS '3.4')
	set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -gline-tables-only")
endif()

{'fraction_non_alphanumeric': 0.13154960981047936, 'fraction_numerical': 0.0029728725380899295, 'mean_word_length': 4.764453961456103, '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': '2330535', 'n_tokens_mistral': 1202, 'n_tokens_neox': 1155, 'n_words': 148}