<commit_before>cmake_minimum_required(VERSION 3.2.0)

if(REALM_PLATFORM STREQUAL "Android")
    # This must be before project()
    set(CMAKE_TOOLCHAIN_FILE "${CMAKE_CURRENT_SOURCE_DIR}/CMake/android.toolchain.cmake")
    set(ANDROID_ABI "x86_64" CACHE STRING "")
endif()

set(CMAKE_BUILD_TYPE Debug CACHE STRING "")
project(realm-object-store)

list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMake")

include(CodeCoverage)
include(CompilerFlags)
include(Sanitizers)

include(RealmCore)
set(REALM_CORE_VERSION "1.5.0" CACHE STRING "")
use_realm_core(${REALM_CORE_VERSION})

option(REALM_ENABLE_SYNC "Build realm object store with sync extensions" OFF)
if(REALM_SYNC_PREFIX)
  set(REALM_ENABLE_SYNC ON)
  build_realm_sync(${REALM_SYNC_PREFIX})
endif()
<commit_msg>remove REALM_ENABLE_SYNC as a CMake option<commit_after>cmake_minimum_required(VERSION 3.2.0)

if(REALM_PLATFORM STREQUAL "Android")
    # This must be before project()
    set(CMAKE_TOOLCHAIN_FILE "${CMAKE_CURRENT_SOURCE_DIR}/CMake/android.toolchain.cmake")
    set(ANDROID_ABI "x86_64" CACHE STRING "")
endif()

set(CMAKE_BUILD_TYPE Debug CACHE STRING "")
project(realm-object-store)

list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMake")

include(CodeCoverage)
include(CompilerFlags)
include(Sanitizers)

include(RealmCore)
set(REALM_CORE_VERSION "1.5.0" CACHE STRING "")
use_realm_core(${REALM_CORE_VERSION})

if(REALM_SYNC_PREFIX)
  set(REALM_ENABLE_SYNC ON)
  build_realm_sync(${REALM_SYNC_PREFIX})
endif()

{'fraction_non_alphanumeric': 0.1105929380413058, 'fraction_numerical': 0.013324450366422385, 'mean_word_length': 7.994011976047904, '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': '7608337', 'n_tokens_mistral': 600, 'n_tokens_neox': 582, 'n_words': 92}