<commit_before>cmake_minimum_required (VERSION 3.1.0)

# Use this to make static binaries.
# SET(CMAKE_EXE_LINKER_FLAGS "-static")

if (USE_STDLIBCPP)
  set(LIBCPP libstdc++)
else()
  set(LIBCPP libc++)
endif()

# if(APPLE)
#    SET(CMAKE_OSX_DEPLOYMENT_TARGET "10.7")
#    set(CMAKE_XCODE_ATTRIBUTE_CLANG_CXX_LANGUAGE_STANDARD "c++0x")
#    set(CMAKE_XCODE_ATTRIBUTE_CLANG_CXX_LIBRARY "${LIBCPP}")
# endif(APPLE)

set (CMAKE_CXX_STANDARD 11)

project (chuffed CXX C)<commit_msg>Set Mac OS deployment target and SDK, to enable targeting older OS versions<commit_after>cmake_minimum_required (VERSION 3.1.0)

# Use this to make static binaries.
# SET(CMAKE_EXE_LINKER_FLAGS "-static")

if (USE_STDLIBCPP)
  set(LIBCPP libstdc++)
else()
  set(LIBCPP libc++)
endif()

if(APPLE)
  execute_process(COMMAND xcrun --show-sdk-path OUTPUT_VARIABLE OSX_SYSROOT OUTPUT_STRIP_TRAILING_WHITESPACE)
  set(CMAKE_OSX_SYSROOT ${OSX_SYSROOT})
  set(CMAKE_OSX_DEPLOYMENT_TARGET "10.9" CACHE STRING "Minimum OS X deployment version")
endif(APPLE)

set (CMAKE_CXX_STANDARD 11)

project (chuffed CXX C)
{'fraction_non_alphanumeric': 0.10740740740740741, 'fraction_numerical': 0.01574074074074074, 'mean_word_length': 6.404109589041096, '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': '452508', 'n_tokens_mistral': 465, 'n_tokens_neox': 436, 'n_words': 90}