<commit_before>cmake_minimum_required(VERSION 3.2)
project(riko4)

if(APPLE)
  set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} "-pagezero_size 10000 -image_base 100000000")
endif()

set($SDL2_gpu_PATH "${SDL2_gpu_PATH}" CACHE INTERNAL "SDL2_gpu" FORCE)

set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules)

file(GLOB_RECURSE SOURCE_FILES src/*.cpp src/*.c)
add_executable(riko4 ${SOURCE_FILES}) 

set(CMAKE_C_STANDARD 11)

find_package(SDL2 REQUIRED)

if(SDL2_FOUND)
    include_directories(${SDL2_INCLUDE_DIR})
    target_link_libraries(riko4 ${SDL2_LIBRARY})
endif()

find_package(LuaJIT REQUIRED)

if(LUAJIT_FOUND)
    include_directories(${LUAJIT_INCLUDE_DIR})
    target_link_libraries(riko4 ${LUAJIT_LIBRARIES})
endif()

find_package(SDL2_gpu REQUIRED)

if(SDL2_gpu_FOUND)
    include_directories(${SDL2_gpu_INCLUDE_DIR})
    target_link_libraries(riko4 ${SDL2_gpu_LIBRARY})
endif()

include_directories(${CMAKE_SOURCE_DIR}/libs/include)<commit_msg>fjkldassdjlakf<commit_after>cmake_minimum_required(VERSION 3.2)
project(riko4)

if(APPLE)
  set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} "-pagezero_size 10000 -image_base 100000000")
endif()

set($SDL2_gpu_PATH "${SDL2_gpu_PATH}" CACHE INTERNAL "SDL2_gpu" FORCE)

set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules)

file(GLOB_RECURSE SOURCE_FILES src/*.cpp src/*.c)
add_executable(riko4 ${SOURCE_FILES}) 

set(CMAKE_C_STANDARD 11)

find_package(SDL2 REQUIRED)

if(SDL2_FOUND)
    include_directories(${SDL2_INCLUDE_DIR})
    target_link_libraries(riko4 ${SDL2_LIBRARY})
endif()

find_package(LuaJIT REQUIRED)

if(LUAJIT_FOUND)
    include_directories(${LUAJIT_INCLUDE_DIR})
    target_link_libraries(riko4 ${LUAJIT_LIBRARIES})
endif()

find_package(SDL2_gpu REQUIRED)

if(SDL2_gpu_FOUND)
    include_directories(${SDL2_gpu_INCLUDE_DIR})
    target_link_libraries(riko4 ${SDL2_gpu_LIBRARY})
    message("Linked ${SDL2_gpu_LIBRARY}}")
endif()

include_directories(${CMAKE_SOURCE_DIR}/libs/include)
{'fraction_non_alphanumeric': 0.11510791366906475, 'fraction_numerical': 0.03545734840698869, 'mean_word_length': 8.591133004926109, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 2, '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': '2169718', 'n_tokens_mistral': 904, 'n_tokens_neox': 789, 'n_words': 99}