<commit_before>cmake_minimum_required (VERSION 3.0)

project (errors)

file (GLOB SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/*.cpp")
file (GLOB HEADERS "${CMAKE_CURRENT_SOURCE_DIR}/*.h")

set (CMAKE_INCLUDE_CURRENT_DIR ON)
set (CMAKE_CXX_STANDARD 17)
set (THREADS_PREFER_PTHREAD_FLAG ON)
set (CMAKE_THREAD_PREFER_PTHREAD TRUE)

find_package (Threads REQUIRED)

include_directories (${CMAKE_SOURCE_DIR}/timer 
                    ${CMAKE_SOURCE_DIR}/app 
                    ${CMAKE_SOURCE_DIR}/atlas 
                    ${CMAKE_SOURCE_DIR}/DS18B20 
                    ${CMAKE_SOURCE_DIR}/mcp3008
                    ${CMAKE_SOURCE_DIR}/mqtt)

add_library (${PROJECT_NAME} STATIC ${SOURCES})<commit_msg>Fixing a missing CXX_FLAGS option for cmake<commit_after>cmake_minimum_required (VERSION 3.0)

project (errors)

file (GLOB SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/*.cpp")
file (GLOB HEADERS "${CMAKE_CURRENT_SOURCE_DIR}/*.h")

set (CMAKE_INCLUDE_CURRENT_DIR ON)
set (CMAKE_CXX_STANDARD 17)
set (THREADS_PREFER_PTHREAD_FLAG ON)
set (CMAKE_THREAD_PREFER_PTHREAD TRUE)
set (CMAKE_CXX_FLAGS "-fcompare-debug-second")

find_package (Threads REQUIRED)

include_directories (${CMAKE_SOURCE_DIR}/timer 
                    ${CMAKE_SOURCE_DIR}/app 
                    ${CMAKE_SOURCE_DIR}/atlas 
                    ${CMAKE_SOURCE_DIR}/temperature
                    ${CMAKE_SOURCE_DIR}/mcp3008
                    ${CMAKE_SOURCE_DIR}/mqtt)

add_library (${PROJECT_NAME} STATIC ${SOURCES})
{'fraction_non_alphanumeric': 0.10230352303523035, 'fraction_numerical': 0.013550135501355014, 'mean_word_length': 3.4757575757575756, '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': '6499951', 'n_tokens_mistral': 572, 'n_tokens_neox': 491, 'n_words': 86}