<commit_before># supported minimum version of cmake
cmake_minimum_required(VERSION 2.6)

# name of the project
project(esf_multi)

# specify the default flags
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")

include_directories(${CMAKE_SOURCE_DIR}/src)
link_directories(${CMAKE_SOURCE_DIR}/src)

# version number
set(PROJECT_VERSION_MAJOR 0)
set(PROJECT_VERSION_MINOR 0)
set(PROJECT_VERSION_PATCH 0)

set(PROJECT_VERSION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION.PATCH}")

# location of dependency
set(DEP_DIR ${CMAKE_SOURCE_DIR}/ext)

add_subdirectory(src)

# build
enable_testing()

set(GTEST ${DEP_DIR}/gtest)
add_subdirectory(${GTEST})<commit_msg>[WIP] working on incorporating Lua<commit_after># supported minimum version of cmake
cmake_minimum_required(VERSION 2.6)

# name of the project
project(esf_multi)

# version number
set(PROJECT_VERSION_MAJOR 0)
set(PROJECT_VERSION_MINOR 0)
set(PROJECT_VERSION_PATCH 0)

set(PROJECT_VERSION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION.PATCH}")

# specify the default flags
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")

include_directories(${CMAKE_SOURCE_DIR}/src)
link_directories(${CMAKE_SOURCE_DIR}/src)


# compile static libraries
set(BUILD_SHARED_LIBS OFF)


# build dependencies
set(DEP_DIR ${CMAKE_SOURCE_DIR}/ext)

# Lua for configuration
add_subdirectory(${DEP_DIR}/lua)
set_target_properties(lua luac PROPERTIES EXCLUDE_FROM_ALL ON)


################################################################################
# build main program
################################################################################
add_subdirectory(src)



################################################################################
# Test
################################################################################
enable_testing()

# google test (gtest) for unit tests
set(GTEST ${DEP_DIR}/gtest)
add_subdirectory(${GTEST})
{'fraction_non_alphanumeric': 0.25604113110539845, 'fraction_numerical': 0.0071979434447300775, 'mean_word_length': 10.248554913294798, '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': '2074861', 'n_tokens_mistral': 644, 'n_tokens_neox': 598, 'n_words': 111}