<commit_before>cmake_minimum_required(VERSION 3.1)

project(sendosc)
set (CMAKE_CXX_STANDARD 11)

if(WIN32)
  include_directories( c:\\local\\oscpack_1_1_0\\include )
  
  if (CMAKE_BUILD_TYPE STREQUAL "Debug")
    link_directories( c:\\local\\oscpack_1_1_0\\lib\\Debug )
  else()
    link_directories( c:\\local\\oscpack_1_1_0\\lib\\Release )
  endif()
  set(LIBS ${LIBS} ws2_32 winmm)

elseif(APPLE)
  include_directories(/usr/local/include/oscpack)
  link_directories(/usr/local/lib)
  set(CMAKE_CXX_FLAGS "-g -Wall")
  set(CMAKE_C_FLAGS "-g -Wall")
else()
  include_directories(/usr/include/oscpack)
  include_directories(/usr/local/include/oscpack)
  link_directories(/usr/local/lib)
  set(CMAKE_CXX_FLAGS "-g -Wall")
  set(CMAKE_C_FLAGS "-g -Wall")
endif()<commit_msg>Added M1 Mac support. (Apple Silicon Homebrew uses /opt/homebrew)<commit_after>cmake_minimum_required(VERSION 3.1)

project(sendosc)
set (CMAKE_CXX_STANDARD 11)

if(WIN32)
  include_directories( c:\\local\\oscpack_1_1_0\\include )
  
  if (CMAKE_BUILD_TYPE STREQUAL "Debug")
    link_directories( c:\\local\\oscpack_1_1_0\\lib\\Debug )
  else()
    link_directories( c:\\local\\oscpack_1_1_0\\lib\\Release )
  endif()
  set(LIBS ${LIBS} ws2_32 winmm)

elseif(APPLE)
  include_directories(/usr/local/include/oscpack /opt/homebrew/include/oscpack)
  link_directories(/usr/local/lib /opt/homebrew/lib)
  set(CMAKE_CXX_FLAGS "-g -Wall")
  set(CMAKE_C_FLAGS "-g -Wall")
else()
  include_directories(/usr/include/oscpack)
  include_directories(/usr/local/include/oscpack)
  link_directories(/usr/local/lib)
  set(CMAKE_CXX_FLAGS "-g -Wall")
  set(CMAKE_C_FLAGS "-g -Wall")
endif()
{'fraction_non_alphanumeric': 0.14441747572815533, 'fraction_numerical': 0.022451456310679612, 'mean_word_length': 4.666666666666667, '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': '6762870', 'n_tokens_mistral': 689, 'n_tokens_neox': 649, 'n_words': 95}