<commit_before>include(ExternalProject)
ExternalProject_Add(
	JSON
	PREFIX ${CMAKE_BINARY_DIR}/JSON
	DOWNLOAD_DIR ${THIRD_PARTY_DIR}/JSON
	URL http://s3.amazonaws.com/json-c_releases/releases/json-c-0.11-nodoc.tar.gz
	URL_MD5 4ac9dae7cc2975dba7bc04b4c0b98953
	CONFIGURE_COMMAND rm <SOURCE_DIR>/config.status && <SOURCE_DIR>/configure --includedir=${THIRD_PARTY_DIR}/include/json --libdir=${THIRD_PARTY_DIR}/libs/json --disable-shared
	)

SET(JSON_INCLUDE_DIRS ${THIRD_PARTY_DIR}/include/json/json-c)
SET(JSON_LDFLAGS ${THIRD_PARTY_DIR}/libs/json/libjson-c.a)

LIST(APPEND SHOGUN_DEPENDS JSON)<commit_msg>Build JSON bundle with -fPIC<commit_after>include(ExternalProject)
ExternalProject_Add(
	JSON
	PREFIX ${CMAKE_BINARY_DIR}/JSON
	DOWNLOAD_DIR ${THIRD_PARTY_DIR}/JSON
	URL http://s3.amazonaws.com/json-c_releases/releases/json-c-0.11-nodoc.tar.gz
	URL_MD5 4ac9dae7cc2975dba7bc04b4c0b98953
	CONFIGURE_COMMAND rm <SOURCE_DIR>/config.status && <SOURCE_DIR>/configure --includedir=${THIRD_PARTY_DIR}/include/json --libdir=${THIRD_PARTY_DIR}/libs/json --disable-shared --with-pic
	)

SET(JSON_INCLUDE_DIRS ${THIRD_PARTY_DIR}/include/json/json-c)
SET(JSON_LDFLAGS ${THIRD_PARTY_DIR}/libs/json/libjson-c.a)

LIST(APPEND SHOGUN_DEPENDS JSON)
{'fraction_non_alphanumeric': 0.1312803889789303, 'fraction_numerical': 0.03565640194489465, 'mean_word_length': 6.8164556962025316, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '86908', 'n_tokens_mistral': 540, 'n_tokens_neox': 494, 'n_words': 54}