<commit_before>cmake_minimum_required(VERSION 2.8)
project(oyunum)

set( CMAKE_EXPORT_COMPILE_COMMANDS ON )

#set(CMAKE_MODULE_PATH_ADDITION ...)

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/cmake)

add_subdirectory(lua)
find_package( allegro 5.0 COMPONENTS main image font color ttf primitives )

file(GLOB SRCS src/*.cpp manualbind/src/*.cpp)
file(GLOB exe_GAME src/boot.cpp)
file(GLOB exe_KOSH src/kosh.cpp)
list(REMOVE_ITEM SRCS ${exe_GAME} ${exe_KOSH})

file(GLOB HDRS src/*.h manualbind/src/*.h)
include_directories(
    manualbind/src
    ${Lua_INCLUDE_DIRS}
    ${allegro_INCLUDE_DIRS}
    )

# we don't want to copy if we're building in the source dir
if (NOT CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_CURRENT_BINARY_DIR)

    # list of directories for which we add a copy rule
    set(data_SHADOW scripts data)<commit_msg>Add Allegro library path for Xcode project generation.<commit_after>cmake_minimum_required(VERSION 2.8)
project(oyunum)

set( CMAKE_EXPORT_COMPILE_COMMANDS ON )

#set(CMAKE_MODULE_PATH_ADDITION ...)

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/cmake)

add_subdirectory(lua)
find_package( allegro 5.0 COMPONENTS main image font color ttf primitives )

file(GLOB SRCS src/*.cpp manualbind/src/*.cpp)
file(GLOB exe_GAME src/boot.cpp)
file(GLOB exe_KOSH src/kosh.cpp)
list(REMOVE_ITEM SRCS ${exe_GAME} ${exe_KOSH})

file(GLOB HDRS src/*.h manualbind/src/*.h)
include_directories(
    manualbind/src
    ${Lua_INCLUDE_DIRS}
    ${allegro_INCLUDE_DIRS}
    )

link_directories( ${allegro_LIBRARY_DIRS} )

# we don't want to copy if we're building in the source dir
if (NOT CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_CURRENT_BINARY_DIR)

    # list of directories for which we add a copy rule
    set(data_SHADOW scripts data)
{'fraction_non_alphanumeric': 0.09395973154362416, 'fraction_numerical': 0.0044742729306487695, 'mean_word_length': 5.505454545454546, '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': '6291988', 'n_tokens_mistral': 721, 'n_tokens_neox': 660, 'n_words': 154}