<commit_before># ----------------------------------------------------------------------------
# Target: simple-x11-egl (executable)
# ----------------------------------------------------------------------------

if("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux")
    add_executable(simple-x11-egl simple-x11-egl.c)
    target_link_libraries(simple-x11-egl ${waffle_libname})
endif()

# ----------------------------------------------------------------------------
# Target: gl_basic (executable)
# ----------------------------------------------------------------------------

add_executable(gl_basic gl_basic.c)
target_link_libraries(gl_basic ${waffle_libname})

if("${CMAKE_SYSTEM_NAME}" STREQUAL Darwin)
    set_target_properties(gl_basic
        PROPERTIES
        COMPILE_FLAGS "-ObjC"
        )
endif()<commit_msg>examples: Install example source code<commit_after># ----------------------------------------------------------------------------
# Target: simple-x11-egl (executable)
# ----------------------------------------------------------------------------

if("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux")
    add_executable(simple-x11-egl simple-x11-egl.c)
    target_link_libraries(simple-x11-egl ${waffle_libname})

    install(FILES simple-x11-egl.c
            DESTINATION ${waffle_install_docdir}/examples)
endif()

# ----------------------------------------------------------------------------
# Target: gl_basic (executable)
# ----------------------------------------------------------------------------

add_executable(gl_basic gl_basic.c)
target_link_libraries(gl_basic ${waffle_libname})

if("${CMAKE_SYSTEM_NAME}" STREQUAL Darwin)
    set_target_properties(gl_basic
        PROPERTIES
        COMPILE_FLAGS "-ObjC"
        )
endif()

install(FILES gl_basic.c
        DESTINATION ${waffle_install_docdir}/examples)
{'fraction_non_alphanumeric': 0.4132821075740944, 'fraction_numerical': 0.009879253567508232, 'mean_word_length': 1.2043530834340992, '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': '5864910', 'n_tokens_mistral': 489, 'n_tokens_neox': 465, 'n_words': 65}