<commit_before># Locate Bullet.
#
# This script defines:
# BULLET_FOUND, set to 1 if found
# BULLET_LIBRARIES
# BULLET_INCLUDE_DIR
# BULLET_*_LIBRARY, one for each library (for example, "BULLET_BulletCollision_LIBRARY").
# BULLET_*_LIBRARY_debug, one for each library.
#
# This script will look in standard locations for installed Bullet. However, if you
# install Bullet into a non-standard location, you can use the BULLET_ROOT
# variable (in environment or CMake) to specify the location.

set(BULLET_ROOT "" CACHE PATH "Bullet install dir, parent of both header files and binaries.")

unset(BULLET_INCLUDE_DIR CACHE)
mark_as_advanced(BULLET_INCLUDE_DIR)
find_path(BULLET_INCLUDE_DIR btBulletCollisionCommon.h
    PATHS
    ${BULLET_ROOT}
    NO_DEFAULT_PATH
    PATH_SUFFIXES
    /include
    /include/bullet)

macro(FIND_BULLET_LIBRARY_DIRNAME LIBNAME DIRNAME)
    unset(BULLET_${LIBNAME}_LIBRARY CACHE)
    unset(BULLET_${LIBNAME}_LIBRARY_debug CACHE)
    mark_as_advanced(BULLET_${LIBNAME}_LIBRARY)<commit_msg>BulletCollisionDetection: use env. variable BULLET_ROOT to find Bullet<commit_after># Locate Bullet.
#
# This script defines:
# BULLET_FOUND, set to 1 if found
# BULLET_LIBRARIES
# BULLET_INCLUDE_DIR
# BULLET_*_LIBRARY, one for each library (for example, "BULLET_BulletCollision_LIBRARY").
# BULLET_*_LIBRARY_debug, one for each library.
#
# This script will look in standard locations for installed Bullet. However, if
# you install Bullet into a non-standard location, you can use the BULLET_ROOT
# variable (in environment or CMake) to specify the location.

if(NOT BULLET_ROOT)
    if(NOT "$ENV{BULLET_ROOT}" STREQUAL "")
        set(BULLET_ROOT "$ENV{BULLET_ROOT}" CACHE PATH "Bullet install prefix")
    endif()
endif()

unset(BULLET_INCLUDE_DIR CACHE)
mark_as_advanced(BULLET_INCLUDE_DIR)
find_path(BULLET_INCLUDE_DIR btBulletCollisionCommon.h
    PATHS
    ${BULLET_ROOT}
    NO_DEFAULT_PATH
    PATH_SUFFIXES
    /include
    /include/bullet)

macro(FIND_BULLET_LIBRARY_DIRNAME LIBNAME DIRNAME)
    unset(BULLET_${LIBNAME}_LIBRARY CACHE)
    unset(BULLET_${LIBNAME}_LIBRARY_debug CACHE)
    mark_as_advanced(BULLET_${LIBNAME}_LIBRARY)
{'fraction_non_alphanumeric': 0.07685185185185185, 'fraction_numerical': 0.000925925925925926, 'mean_word_length': 5.528700906344411, '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': '531031', 'n_tokens_mistral': 809, 'n_tokens_neox': 753, 'n_words': 191}