<commit_before># Locate OSG
# This module defines
# xxx_LIBRARY xxx_LIBRARY_DEBUG xxx_LIBRARIES for each of the OpenSceneGraph libraries in OSG_LIBRARY_NAMES below
# xxx_LIBRARIES contains both debug and release libraries with relevant target_link_libraries flags
# OSG_ALL_LIBRARIES contains all the xxx_LIBRARIES
# OSG_FOUND, if false, do not try to link to osg 
# OSG_INCLUDE_DIR, where to find the headers
#
# OSG_INSTALL_DIR where the OpenSceneGraph files are installed (used internally)
#
#
# Created by <NAME>. Modified by <NAME> 05/03/09

SET(OSG_INSTALL_DIR "c:/Program Files/OpenSceneGraph" CACHE PATH "OpenSceneGraph install directory")

SET(OSG_LIBRARY_NAMES
    osg
    osgGA
    osgUtil
    osgDB
    osgText
    osgWidget
    osgTerrain
    osgFX
    osgViewer
    osgVolume
    osgShadow
    OpenThreads)

FIND_PATH(OSG_INCLUDE_DIR osg/Node
    ${OSG_INSTALL_DIR}/include
    $ENV{OSG_DIR}/include
    $ENV{OSG_DIR}
    $ENV{OSGDIR}/include
    $ENV{OSGDIR}
    $ENV{OSG_ROOT}/include
    NO_DEFAULT_PATH
)

FIND_PATH(OSG_INCLUDE_DIR osg/Node)

MACRO(FIND_OSG_LIBRARY MYLIBRARYNAME)

    FIND_LIBRARY(${MYLIBRARYNAME}_LIBRARY_DEBUG
        NAMES ${MYLIBRARYNAME}d
        PATHS
        ${OSG_INSTALL_DIR}/lib/Debug
        ${OSG_INSTALL_DIR}/lib
        $ENV{OSG_DIR}/lib/debug
        $ENV{OSG_DIR}/lib
        $ENV{OSG_DIR}
        $ENV{OSGDIR}/lib
        $ENV{OSGDIR}
        $ENV{OSG_ROOT}/lib
        NO_DEFAULT_PATH
    )<commit_msg>Add osgParticle to list of libraries<commit_after># Locate OSG
# This module defines
# xxx_LIBRARY xxx_LIBRARY_DEBUG xxx_LIBRARIES for each of the OpenSceneGraph libraries in OSG_LIBRARY_NAMES below
# xxx_LIBRARIES contains both debug and release libraries with relevant target_link_libraries flags
# OSG_ALL_LIBRARIES contains all the xxx_LIBRARIES
# OSG_FOUND, if false, do not try to link to osg 
# OSG_INCLUDE_DIR, where to find the headers
#
# OSG_INSTALL_DIR where the OpenSceneGraph files are installed (used internally)
#
#
# Created by <NAME>. Modified by <NAME> 05/03/09

SET(OSG_INSTALL_DIR "c:/Program Files/OpenSceneGraph" CACHE PATH "OpenSceneGraph install directory")

SET(OSG_LIBRARY_NAMES
    osg
    osgGA
    osgUtil
    osgDB
    osgText
    osgWidget
    osgTerrain
    osgFX
    osgViewer
    osgVolume
    osgShadow
    osgParticle
    OpenThreads)

FIND_PATH(OSG_INCLUDE_DIR osg/Node
    ${OSG_INSTALL_DIR}/include
    $ENV{OSG_DIR}/include
    $ENV{OSG_DIR}
    $ENV{OSGDIR}/include
    $ENV{OSGDIR}
    $ENV{OSG_ROOT}/include
    NO_DEFAULT_PATH
)

FIND_PATH(OSG_INCLUDE_DIR osg/Node)

MACRO(FIND_OSG_LIBRARY MYLIBRARYNAME)

    FIND_LIBRARY(${MYLIBRARYNAME}_LIBRARY_DEBUG
        NAMES ${MYLIBRARYNAME}d
        PATHS
        ${OSG_INSTALL_DIR}/lib/Debug
        ${OSG_INSTALL_DIR}/lib
        $ENV{OSG_DIR}/lib/debug
        $ENV{OSG_DIR}/lib
        $ENV{OSG_DIR}
        $ENV{OSGDIR}/lib
        $ENV{OSGDIR}
        $ENV{OSG_ROOT}/lib
        NO_DEFAULT_PATH
    )
{'fraction_non_alphanumeric': 0.07319552694002034, 'fraction_numerical': 0.004066418163334463, 'mean_word_length': 3.493150684931507, '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': '1749654', 'n_tokens_mistral': 1157, 'n_tokens_neox': 1071, 'n_words': 232}