<commit_before>cmake_minimum_required (VERSION 2.8.4)

set(EDISON_BUILD OFF CACHE BOOL "Controls if the build is targeting the Intel Edison.")

if(EDISON_BUILD)
        include(${CMAKE_SOURCE_DIR}/Edison.cmake)
endif(EDISON_BUILD)

project (foneOS)

list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake")

if (!EDISON_BUILD)
	find_package(SDL2 REQUIRED)
	set(MRAA_LIBRARY )
	set(MRAA_LIBRARY_RELEASE )
else(!EDISON_BUILD)
	set(SDL2_LIBRARY )
	set(SDL2_LIBRARY_RELEASE )
	find_package(MRAA REQUIRED)
endif(!EDISON_BUILD)
find_package(freetype REQUIRED)
find_package(Sqlite3 REQUIRED)
find_package(LuaJIT REQUIRED)

# The version number.
#set (FONEOSVERSION "v0.1.2d")

add_subdirectory(foneOS)<commit_msg>fix looking for MRAA on non-Edison builds<commit_after>cmake_minimum_required (VERSION 2.8.4)

set(EDISON_BUILD OFF CACHE BOOL "Controls if the build is targeting the Intel Edison.")

if(EDISON_BUILD)
        include(${CMAKE_SOURCE_DIR}/Edison.cmake)
endif(EDISON_BUILD)

project (foneOS)

list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake")

if (NOT EDISON_BUILD)
	find_package(SDL2 REQUIRED)
	set(MRAA_LIBRARY )
	set(MRAA_LIBRARY_RELEASE )
else()
	set(SDL2_LIBRARY )
	set(SDL2_LIBRARY_RELEASE )
	find_package(MRAA REQUIRED)
endif()
find_package(freetype REQUIRED)
find_package(Sqlite3 REQUIRED)
find_package(LuaJIT REQUIRED)

# The version number.
#set (FONEOSVERSION "v0.1.2d")

add_subdirectory(foneOS)
{'fraction_non_alphanumeric': 0.09769713886950454, 'fraction_numerical': 0.013956734124214934, 'mean_word_length': 7.194285714285714, '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': '7078695', 'n_tokens_mistral': 617, 'n_tokens_neox': 556, 'n_words': 104}