<commit_before>cmake_minimum_required(VERSION 2.8)

set(SUBHOOK_ARCH   "x86")
set(SUBHOOK_STATIC TRUE)

add_subdirectory("subhook")
list(APPEND LIBS "subhook")
list(APPEND DIRS "${CMAKE_CURRENT_SOURCE_DIR}/subhook")
list(APPEND DEFS "SUBHOOK_STATIC")

# list() doesn't support PARENT_SCOPE so we have to use set() instead.
set(SAMPGDK_COMPILE_DEFS ${SAMPGDK_COMPILE_DEFS} ${DEFS} PARENT_SCOPE)
set(SAMPGDK_INCLUDE_DIRS ${SAMPGDK_INCLUDE_DIRS} ${DIRS} PARENT_SCOPE)
set(SAMPGDK_LINK_LIBS ${SAMPGDK_LINK_LIBRARIES} ${LIBS} PARENT_SCOPE)<commit_msg>Fix SAMPGDK_LINK_LIBS gets reset in lib<commit_after>cmake_minimum_required(VERSION 2.8)

set(SUBHOOK_ARCH   "x86")
set(SUBHOOK_STATIC TRUE)

add_subdirectory("subhook")
list(APPEND LIBS "subhook")
list(APPEND DIRS "${CMAKE_CURRENT_SOURCE_DIR}/subhook")
list(APPEND DEFS "SUBHOOK_STATIC")

# list() doesn't support PARENT_SCOPE so we have to use set() instead.
set(SAMPGDK_COMPILE_DEFS ${SAMPGDK_COMPILE_DEFS} ${DEFS} PARENT_SCOPE)
set(SAMPGDK_INCLUDE_DIRS ${SAMPGDK_INCLUDE_DIRS} ${DIRS} PARENT_SCOPE)
set(SAMPGDK_LINK_LIBS    ${SAMPGDK_LINK_LIBS}    ${LIBS} PARENT_SCOPE)
{'fraction_non_alphanumeric': 0.1126005361930295, 'fraction_numerical': 0.0071492403932082215, 'mean_word_length': 9.566037735849056, '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': '5242484', 'n_tokens_mistral': 492, 'n_tokens_neox': 450, 'n_words': 82}