<commit_before>cmake_minimum_required(VERSION 3.1) # We need CMAKE_C_STANDARD variable
project(chizu)

# Add custom cmake modules to find SDL
list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake-modules")

add_subdirectory(src)


# create engine-config.cmake stuff
set(CMAKE_CONFIG_INSTALL_DIR "lib/cmake/${PROJECT_NAME}" CACHE STRING "Where ${PROJECT_NAME}Config.cmake and companions will be installed")


set(INCLUDE_INSTALL_DIR include/chizu)
set(LIB_INSTALL_DIR lib)
set(CHIZU_VERSION "1.0")

export(PACKAGE Chizu)

include(CMakePackageConfigHelpers)
configure_package_config_file(
        cmake-src/${PROJECT_NAME}-config.cmake.in
        ${CMAKE_CURRENT_BINARY_DIR}/config-tmp
        INSTALL_DESTINATION ${CMAKE_CONFIG_INSTALL_DIR}
        PATH_VARS INCLUDE_INSTALL_DIR LIB_INSTALL_DIR
)

write_basic_package_version_file(
        ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}-config-version.cmake
        VERSION ${CHIZU_VERSION}
        COMPATIBILITY SameMajorVersion
)

install(FILES
        ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}-config-version.cmake
        DESTINATION ${CMAKE_CONFIG_INSTALL_DIR}
        )

install(FILES
        ${CMAKE_CURRENT_BINARY_DIR}/config-tmp
        RENAME ${PROJECT_NAME}-config.cmake
        DESTINATION ${CMAKE_CONFIG_INSTALL_DIR}
        )

install(EXPORT ChizuTargets DESTINATION ${CMAKE_CONFIG_INSTALL_DIR})<commit_msg>Fixing export targets<commit_after>cmake_minimum_required(VERSION 3.1) # We need CMAKE_C_STANDARD variable
project(chizu)

# Add custom cmake modules to find SDL
list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake-modules")

add_subdirectory(src)


# create engine-config.cmake stuff
set(CMAKE_CONFIG_INSTALL_DIR "lib/cmake/${PROJECT_NAME}" CACHE STRING "Where ${PROJECT_NAME}Config.cmake and companions will be installed")


set(INCLUDE_INSTALL_DIR include/chizu)
set(LIB_INSTALL_DIR lib)
set(CHIZU_VERSION "1.0")

export(PACKAGE Chizu)

include(CMakePackageConfigHelpers)
configure_package_config_file(
        cmake-src/${PROJECT_NAME}-config.cmake.in
        ${CMAKE_CURRENT_BINARY_DIR}/config-tmp
        INSTALL_DESTINATION ${CMAKE_CONFIG_INSTALL_DIR}
        PATH_VARS INCLUDE_INSTALL_DIR LIB_INSTALL_DIR
)

write_basic_package_version_file(
        ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}-config-version.cmake
        VERSION ${CHIZU_VERSION}
        COMPATIBILITY SameMajorVersion
)

install(FILES
        ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}-config-version.cmake
        DESTINATION ${CMAKE_CONFIG_INSTALL_DIR}
        )

install(FILES
        ${CMAKE_CURRENT_BINARY_DIR}/config-tmp
        RENAME ${PROJECT_NAME}-config.cmake
        DESTINATION ${CMAKE_CONFIG_INSTALL_DIR}
        )

install(EXPORT ${PROJECT_NAME}-targets DESTINATION ${CMAKE_CONFIG_INSTALL_DIR})
{'fraction_non_alphanumeric': 0.08903365906623235, 'fraction_numerical': 0.002895403546869345, 'mean_word_length': 5.008695652173913, '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': '4688114', 'n_tokens_mistral': 1007, 'n_tokens_neox': 929, 'n_words': 139}