<commit_before>if (DEPENDENCY_PHASE)
	find_package(Boost QUIET)
	if (NOT Boost_FOUND)
		remove_plugin (yamlcpp "boost was not found")
	endif (NOT Boost_FOUND)

	find_package(yaml-cpp QUIET 0.5)
	if (NOT YAML-CPP_FOUND)
		remove_plugin (yamlcpp "yaml-cpp (version 0.5) was not found")
	endif (NOT YAML-CPP_FOUND)
endif (DEPENDENCY_PHASE)

add_plugin (yamlcpp
	CPP
	ADD_TEST
	INSTALL_TEST_DATA
	SOURCES
		yamlcpp.hpp yamlcpp.cpp
		read.hpp read.cpp
		write.hpp write.cpp
	INCLUDE_DIRECTORIES
		${YAML-CPP_INCLUDE_DIR} ${Boost_INCLUDE_DIR}
	LINK_LIBRARIES
		${YAML-CPP_LIBRARIES}
	LINK_ELEKTRA
		elektra-ease
	)<commit_msg>YAML CPP: Disable warning about shadow declaration<commit_after>if (DEPENDENCY_PHASE)
	find_package(Boost QUIET)
	if (NOT Boost_FOUND)
		remove_plugin (yamlcpp "boost was not found")
	endif (NOT Boost_FOUND)

	find_package(yaml-cpp QUIET 0.5)
	if (NOT YAML-CPP_FOUND)
		remove_plugin (yamlcpp "yaml-cpp (version 0.5) was not found")
	else (NOT YAML-CPP_FOUND)
		# Disable warnings about shadow declarations in yaml-cpp source code
		if (APPLE AND CMAKE_COMPILER_IS_GNUCXX)
			string (REPLACE "-Wshadow" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
		endif (APPLE AND CMAKE_COMPILER_IS_GNUCXX)
	endif (NOT YAML-CPP_FOUND)
endif (DEPENDENCY_PHASE)

add_plugin (yamlcpp
	CPP
	ADD_TEST
	INSTALL_TEST_DATA
	SOURCES
		yamlcpp.hpp yamlcpp.cpp
		read.hpp read.cpp
		write.hpp write.cpp
	INCLUDE_DIRECTORIES
		${YAML-CPP_INCLUDE_DIR} ${Boost_INCLUDE_DIR}
	LINK_LIBRARIES
		${YAML-CPP_LIBRARIES}
	LINK_ELEKTRA
		elektra-ease
	)
{'fraction_non_alphanumeric': 0.08610567514677103, 'fraction_numerical': 0.005218525766470972, 'mean_word_length': 5.160642570281125, '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': '6419584', 'n_tokens_mistral': 694, 'n_tokens_neox': 614, 'n_words': 139}