<commit_before>cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR)
project(arduinodaq CXX)

set (CMAKE_CXX_STANDARD 11)

# System dependencies are found with CMake's conventions
find_package(MRPT REQUIRED hwdrivers)

include_directories(
  ${${PROJECT_NAME}_SOURCE_DIR}/../arduino_firmware/arduino_daq/arduino_daq/
  ${${PROJECT_NAME}_SOURCE_DIR}/../include
)

# Declare a C++ library
file(GLOB lib_srcs  ${${PROJECT_NAME}_SOURCE_DIR}/../src/arduino_daq/*.cpp include/arduino_daq/*.h)

add_library(${PROJECT_NAME}
   ${lib_srcs}<commit_msg>unix: default build shared libs<commit_after>cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR)
project(arduinodaq CXX)

set (CMAKE_CXX_STANDARD 11)

# System dependencies are found with CMake's conventions
find_package(MRPT REQUIRED hwdrivers)

include_directories(
  ${${PROJECT_NAME}_SOURCE_DIR}/../arduino_firmware/arduino_daq/arduino_daq/
  ${${PROJECT_NAME}_SOURCE_DIR}/../include
)

# Declare a C++ library
file(GLOB lib_srcs  ${${PROJECT_NAME}_SOURCE_DIR}/../src/arduino_daq/*.cpp include/arduino_daq/*.h)

if (UNIX)
	set (DEFLIBTYPE SHARED)
else()
	set(DEFLIBTYPE STATIC)
endif()

add_library(${PROJECT_NAME} ${DEFLIBTYPE}
   ${lib_srcs}
{'fraction_non_alphanumeric': 0.1301775147928994, 'fraction_numerical': 0.0084530853761623, 'mean_word_length': 6.589743589743589, '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': '2947143', 'n_tokens_mistral': 494, 'n_tokens_neox': 462, 'n_words': 75}