<commit_before>################################################################################
# Custom cmake module for CEGUI to find SILLY
################################################################################
include(FindPackageHandleStandardArgs)

find_path(SILLY_H_PATH NAMES SILLY.h PATH_SUFFIXES SILLY)
find_library(SILLY_LIB NAMES SILLY libSILLY PATH_SUFFIXES dynamic)
find_library(SILLY_LIB_DBG NAMES SILLY_d libSILLY_d PATH_SUFFIXES dynamic)
mark_as_advanced(SILLY_H_PATH SILLY_LIB SILLY_LIB_DBG)

if (WIN32 OR APPLE)
    find_library(SILLY_LIB_STATIC NAMES SILLY libSILLY PATH_SUFFIXES static)
    find_library(SILLY_LIB_STATIC_DBG NAMES SILLY_d libSILLY_d PATH_SUFFIXES static)

    cegui_find_libraries(SILLY_LIB_STATIC "libpng;jpeg;zlib" static)
    cegui_find_libraries(SILLY_LIB_STATIC_DBG "libpng_d;jpeg_d;zlib" static)

    set( SILLY_DEFINITIONS_STATIC "SILLY_STATIC" CACHE STRING "preprocessor definitions" )
    mark_as_advanced(SILLY_DEFINITIONS_STATIC SILLY_LIB_STATIC SILLY_LIB_STATIC_DBG)
endif()

if (UNIX AND NOT APPLE)
    set( SILLY_DEFINITIONS "USE_SILLYOPTIONS_H" CACHE STRING "preprocessor definitions" )
    mark_as_advanced(SILLY_DEFINITIONS)
endif()

cegui_find_package_handle_standard_args(SILLY SILLY_LIB SILLY_H_PATH)


# set up output vars<commit_msg>Fixed debug static binding to use debug build<commit_after>################################################################################
# Custom cmake module for CEGUI to find SILLY
################################################################################
include(FindPackageHandleStandardArgs)

find_path(SILLY_H_PATH NAMES SILLY.h PATH_SUFFIXES SILLY)
find_library(SILLY_LIB NAMES SILLY libSILLY PATH_SUFFIXES dynamic)
find_library(SILLY_LIB_DBG NAMES SILLY_d libSILLY_d PATH_SUFFIXES dynamic)
mark_as_advanced(SILLY_H_PATH SILLY_LIB SILLY_LIB_DBG)

if (WIN32 OR APPLE)
    find_library(SILLY_LIB_STATIC NAMES SILLY libSILLY PATH_SUFFIXES static)
    find_library(SILLY_LIB_STATIC_DBG NAMES SILLY_d libSILLY_d PATH_SUFFIXES static)

    cegui_find_libraries(SILLY_LIB_STATIC "libpng;jpeg;zlib" static)
    cegui_find_libraries(SILLY_LIB_STATIC_DBG "libpng_d;jpeg_d;zlib_d" static)

    set( SILLY_DEFINITIONS_STATIC "SILLY_STATIC" CACHE STRING "preprocessor definitions" )
    mark_as_advanced(SILLY_DEFINITIONS_STATIC SILLY_LIB_STATIC SILLY_LIB_STATIC_DBG)
endif()

if (UNIX AND NOT APPLE)
    set( SILLY_DEFINITIONS "USE_SILLYOPTIONS_H" CACHE STRING "preprocessor definitions" )
    mark_as_advanced(SILLY_DEFINITIONS)
endif()

cegui_find_package_handle_standard_args(SILLY SILLY_LIB SILLY_H_PATH)


# set up output vars
{'fraction_non_alphanumeric': 0.165402124430956, 'fraction_numerical': 0.0015174506828528073, 'mean_word_length': 8.913533834586467, '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': '2809485', 'n_tokens_mistral': 1010, 'n_tokens_neox': 895, 'n_words': 174}